dpathakj / junixsocket

Automatically exported from code.google.com/p/junixsocket
0 stars 0 forks source link

AFUNIXSocketImpl.connect() ignores the timeout parameter #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
AFUNIXSocketImpl.connect() ignores the timeout parameter. Ideally it should
implement it by putting the socket in non-blocking mode and waiting, or at
least it should throw an error if a timeout is specified, but is not supported.

I will attach a patch for the former when I have time.

Original issue reported on code.google.com by tmi...@gmail.com on 18 Nov 2009 at 8:25

GoogleCodeExporter commented 8 years ago
On second thought, since this is AF_LOCAL, I am beginning to think that the 
existing 
behavior is better. A local timeout is pointless so the right thing would be to 
ignore 
it.

Original comment by tmi...@gmail.com on 23 Nov 2009 at 10:26

GoogleCodeExporter commented 8 years ago
Yes. I think timeouts should not be a problem at all.
Feel free to reopen the issue if you encounter situations where timeouts would 
help.

Original comment by ckkohl79 on 3 Dec 2009 at 1:06