bool Close( bool linger = False, int reasonCode = 0, string debugString = "Closing Connection" )
Disconnects from the remote host and invalidates the connection handle. Any unread data on the connection is discarded.. reasonCode is defined and used by you.
bool linger False
int reasonCode 0
string debugString "Closing Connection"