Method | Description | |
---|---|---|
AcceptCompleted ( object sender, SocketAsyncEventArgs e ) : void | ||
Channel_Exception ( object sender, System.ExceptionEventArgs e ) : void | ||
CloseClientSocket ( Socket clientSocket ) : void | ||
HandleSocks ( IChannelDirectTcpip channel, Socket clientSocket, System.TimeSpan timeout ) : bool | ||
HandleSocks4 ( Socket socket, IChannelDirectTcpip channel, System.TimeSpan timeout ) : bool | ||
HandleSocks5 ( Socket socket, IChannelDirectTcpip channel, System.TimeSpan timeout ) : bool | ||
InitializePendingChannelCountdown ( ) : void |
Initializes the CountdownEvent. When the port is started for the first time, a CountdownEvent is created with an initial count of On subsequent (re)starts, we'll dispose the current CountdownEvent and create a new one with initial count of |
|
ProcessAccept ( Socket clientSocket ) : void | ||
ReadString ( Socket socket, System.TimeSpan timeout ) : string |
Reads a null terminated string from a socket.
|
|
Session_Disconnected ( object sender, |
||
Session_ErrorOccured ( object sender, System.ExceptionEventArgs e ) : void | ||
StartAccept ( SocketAsyncEventArgs e ) : void |