HttpServer.ReusableSocketNetworkStream.Close C# (CSharp) Method

Close() public method

Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.
public Close ( ) : void
return void
		public override void Close()
		{
            
			if (Socket != null && Socket.Connected)
				Socket.Close(); //TODO: Maybe use Disconnect with reuseSocket=true? I tried but it took forever.
			base.Close();
             
		}