The following tables list the members exposed by TcpServer.
Name | Description | |
---|---|---|
![]() | TcpServer Constructor | Constructs the TcpServer with a fixed thread-pool size. |
Name | Description | |
---|---|---|
![]() | ShutdownEvent | Exposes a WaitHandle that can be used to signal other threads that the server is shutting down. |
Name | Description | |
---|---|---|
![]() | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
![]() | Start | |
![]() | Stop | Stops the server and all worker threads. |
Name | Description | |
---|---|---|
![]() | OnClientClosed | Performs the processing of the request on one of the worker threads |
![]() | OnClientConnect | Performs the processing of the request on one of the worker threads |
![]() | OnDataRecieved | Performs the processing of the request on one of the worker threads |
![]() | OnError | Raised when an unhandled exception occurs. |