Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <5C97A373607ED31188CD002048406DEE070F0BA4@lsv-msg05.stortek.com> From: "Harris, Jeffrey A" To: "'cygwin AT cygwin DOT com'" Subject: inet_ntop support in cygwin? Date: Fri, 29 Mar 2002 14:16:33 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" I just completed the install and download of all the packages of cygwin. When compiling a program in cygwin I get the following.. gcc -g -Wall -c connect.c connect.c: In function `lookup_host': connect.c:26: warning: implicit declaration of function `inet_ntop' connect.c:26: `INET_ADDRSTRLEN' undeclared (first use in this function) connect.c:26: (Each undeclared identifier is reported only once connect.c:26: for each function it appears in.) connect.c: In function `connection_open': connect.c:48: `INET_ADDRSTRLEN' undeclared (first use in this function) connect.c:68: warning: implicit declaration of function `inet_pton' connect.c:48: warning: unused variable `hostname' make: *** [connect.o] Error 1 A search from / showed that the inet_ntop() function and INET_ADDRSTRLEN define are not defined anywhere. Does cygwin support inet_ntop()? P.S. please respond directly as I'm not a member of this list. Thank You, Jeff Harris harrija AT storagetek DOT com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/