is the FD_CLOSE msg sent only when a socket is closed remote or when you close the socket also? I am using the closesocket() function to close my socket and when I do it doesnt send the FD_CLOSE msg. And I dont think it is when the connection is closed remotely.