SO_LINGER
l
Used to control whether and how long a
call to close will wait for pending ACKS.
l
connection-oriented sockets only.
l
setSoLinger(boolean onFlag, int
duration);
l
getSoLinger(); returns duration (-1 if
option is disabled)