socket in "CLOSE_WAIT" state
Status: Beta
Brought to you by:
mikelbridge
I have a VB .NET app to send email to people on our
mailing list. The problem I'm having is that the
socket doesn't actually "close" until the application
exits. I've checked the SMTP server and it is closing
the connections properly. Am I missing something in
the sending process that closes the connection to the
server once the email is sent?
Logged In: NO
figured it out...when you close your tcpclient, the socket
is not automatically closed. downloaded source and
modified the SMTP proxy to close the stream if the server
response was "221"