Tim, le Sun 15 Jan 2006 18:49:46 -0600, a écrit :
Hi,

> On connect(), I get an error "Operation now in progress."
> 
>       connect(sock, (struct sockaddr*)&time_serv, sizeof(struct sockaddr));
>       perror("connect");

Does connect() return -1 ? If not, errno has an undefined value and
shouldn't be looked at.

Regards,
Samuel

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to