Re: multiple connect on a socket

Date: Tue Aug 06 2002 - 21:10:48 EST


> Shouldn't it throw an error when I
> try to connect to it a second time ? Am I missing something here.

Yes, it used to return success once upon connection is complete.

When the connection is in progress, it returns EALREADY,
after this it returns EISCONN, but success is indicated when it goes
from unconnected to connected state. Maybe, this is wrong but it used
to work in this way.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:34 EST