TrotiNet.HttpSocket.Dispose C# (CSharp) Method

Dispose() public method

Close the wrapped socket
public Dispose ( ) : void
return void
        public void Dispose()
        {
            if (LowLevelSocket != null)
            {
                LowLevelSocket.Close();
                    // Note: Socket.Close() just calls Socket.Dispose()
                LowLevelSocket = null;
            }
        }