Closes the Socket connection and releases all associated resources.
BaseSocket Class | EnterpriseDT.Net Namespace