Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

connect() returns EALREADY for blocking socket in UnixWare 7.1.3

92 views
Skip to first unread message

Venkatraman

unread,
Sep 15, 2009, 7:26:35 AM9/15/09
to
I am using UnixWare 7.1.3. I created a blocking socket and when I try
to connect the call fails with errno set to EALREADY. I read through
the man page and saw that only for non-blocking sockets, EINPROGRESS
will return immediately and subsequent calls will return EALREADY if
the connection is still in progress.

Have any of you seen this behaviour? If I receive EALREADY during
first connect() call, how should I handle this. I have already tried
to sleep after this error and connect() again, but this didn't help
me.


Thanks in advance.
Venkatraman

0 new messages