Thread (23 messages) 23 messages, 3 authors, 2002-08-16

Re: [PATCH] connect() return value.

flat view

From: <hidden>
Date: 2002-08-12 01:28:38

Hello!
				     I wanted to know what 
is the "correct" behavior for connect() by default with signal().
This simply does not matter, that's answer.

Actually, it is not so easy to implement restartable connect().
I think this is the only reason why it not restartable in some OSes.

BTW could you make the following experiments on the same OSes:
connect() on nonblocking socket, then repeat the connect()
until it returns EISCONN. I guess the behaviour also will be different.

it should be trivial to hand edit my prevoius patch posted.
Yes, of course. Though the first part of it also from the class
"does not matter", it is worth to do this just for sanity.

Alexey
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help