Cygwin and C socket

2009-06-26 Thread lrc
#include arpa/inet.h int main(int argc, char *argv[]) { struct addrinfo hints, *res, *p; .. if ((status = getaddrinfo(argv[1], NULL, hints, res)) != 0) { -- View this message in context: http://www.nabble.com/Cygwin-and-C-socket-tp24221636p24221636.html Sent from

Re: Cygwin and C socket

2009-06-26 Thread Corinna Vinschen
On Jun 26 07:47, lrc wrote: if ((status = getaddrinfo(argv[1], NULL, hints, res)) != 0) { getaddrinfo isn't available in Cygwin 1.5.25, but will be available in Cygwin 1.7. See http://cygwin.com/#beta-test Corinna -- Corinna Vinschen Please, send mails regarding