I'm not sure if I understand your problem but writing data to the socket doesn't mean it has been send to the remote side of the connection. You have to wait until that happens before terminating the connection.
I'm not sure if I understand your problem but writing data to the socket doesn't mean it has been send to the remote side of the connection. You have to wait until that happens before terminating the connection.
mate (16th July 2008)
Bookmarks