Alright, well what exactly defines a 'graceful' close? Does it actually guarantee complete data transmission, or does it just mean no WSAECONNRESET error will pop up on the remote end (i.e. unsent data may still be discarded)?
Alright, well what exactly defines a 'graceful' close? Does it actually guarantee complete data transmission, or does it just mean no WSAECONNRESET error will pop up on the remote end (i.e. unsent data may still be discarded)?
Just Google It. √
(\ /)
( . .)
c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.
Well according to MSDN, a 'graceful' close is one that gives the socket time to send/receive any last data before closing. Keep in mind you can gracefully close a socket, but still have the socket closed before all the data has been sent (If your linger timeout is too short for instance).
I see. So SO_DONTLINGER is sort of ambiguously defined.
Just Google It. √
(\ /)
( . .)
c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.