I want to gather some info about what apps expect from setting the SO_LINGER option with a non-zero linger time on a TCP socket. Suppose after the specified linger timeout, some data still cannot be sent or some data has not been ack'ed by the peer. In this case, the close() will return an error as documented. But what do apps expect the underlying TCP connection will behave? AFAIK, there is no Solaris document which states what will happen to the underlying TCP connection. Do apps expect that the connection will be aborted after the timeout, the same behavior if a zero linger time is set?
-- K. Poon. ka-cheong.p...@oracle.com _______________________________________________ networking-discuss mailing list networking-discuss@opensolaris.org