socket programming -- operation now in progress

Samuel Thibault samuel.thibault@ens-lyon.org
Mon Jan 16 01:08:00 GMT 2006


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/



More information about the Cygwin mailing list