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