lkml.org 
[lkml]   [2005]   [May]   [1]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Non-blocking sockets, connect(), and socket states
FromAlan Cox <>
DateSun, 01 May 2005 14:46:04 +0100
On Iau, 2005-04-28 at 11:34, Bernard Blackham wrote:
> Should it be the kernel's responsibility to set SS_CONNECTED when
> the connection is established? Or should I go file bugs and submit
> patches on all the applications that use non-blocking sockets and
> don't call connect() a second time?

See posix 1003.1g drafts. I believe from the state diagram there that
you should call connect() again once it completes.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-05-01 15:50    [from the cache]
©2003-2008