Property | Type | Description | |
---|---|---|---|
AcceptClient | |||
AcceptMultiple | void | ||
TcpServerCommunicator | System.Net |
Method | Description | |
---|---|---|
Close ( ) : void |
Close the stream
|
|
Initialize ( ) : void |
Prepare the stream for single connection reading and writing
|
|
Initialize ( ConnectionCallback callback ) : void |
Recieve multiple connections, each connection is passed to the callback in a new thread. Does not return.
|
|
TcpServerCommunicator ( int port ) : System.Net |
Listens for a single connection on a given port
|
Method | Description | |
---|---|---|
AcceptClient ( ) : |
Accept a client
|
|
AcceptMultiple ( ConnectionCallback callback ) : void |
Recieve multiple connections, each connection is passed to the callback in a new thread. Does not return.
|
|
TcpServerCommunicator ( int port, |
Listens for a single connection on a given port
|
public Initialize ( ConnectionCallback callback ) : void | ||
callback | ConnectionCallback | |
return | void |
public TcpServerCommunicator ( int port ) : System.Net | ||
port | int | Port to listen on |
return | System.Net |