Re: connect call failing with EINPROGRESS error code.

2010-07-22 Thread Phil Mayers

On 07/22/2010 07:52 AM, R Juneja wrote:


Hi,

I am new to socket programming. Please help me with a situation.


This is the wrong place to ask. This mailing list is for discussing the 
Bind DNS server, not socket programming.





The function call connect (non -blocking) is failing with setting the
errorcode as 36 (EINPROGRESS). I have checked all the relative things.
They are set properly.
::connect(sd, ((struct sockaddr*) (void*) &(proxyDataPtr->remoteAddr)),
sizeof(struct sockaddr))


Try

http://www.faqs.org/faqs/unix-faq/socket/

...or Google more generally.

If you've put the socket into non-blocking mode, EINPROGRESS is normal. 
You need to use select() or poll() to wait for the file descriptor to 
become available.

___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


connect call failing with EINPROGRESS error code.

2010-07-21 Thread R Juneja
Hi,

I am new to socket programming. Please help me with a situation.

The function call connect (non -blocking) is failing with setting the 
errorcode as 36 (EINPROGRESS). I have checked all the relative things. 
They are set properly.


::connect(sd, ((struct sockaddr*) (void*) &(proxyDataPtr->remoteAddr)), 
sizeof(struct sockaddr)) 




Please help me with the solution to handle this situation. or some clues, 
what could be the problem !!

Thanks in advance.

Best Regards
Richi
=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users