This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: socket programming -- operation now in progress


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]