Method | Description | |
---|---|---|
Server ( string listenerUrl, string serverUrl ) : System |
Initializes the server with the listener and server url.
|
|
Start ( ) : void |
Starts listening at the specified port.
|
|
Stop ( ) : void |
Stops listening.
|
Method | Description | |
---|---|---|
Close ( |
Closes the connection.
|
|
Connect ( Socket incomingSocket, |
Connects to the server.
|
|
EndConnect ( IAsyncResult result ) : void |
Called to complete an asynchronous connect operation.
|
|
OnAccept ( IAsyncResult result ) : void |
Handles a new connection.
|
|
OnReadFromClient ( IAsyncResult result ) : void |
Called to complete an asynchronous read operation.
|
|
OnReadFromServer ( IAsyncResult result ) : void |
Called to complete an asynchronous read operation.
|
public Server ( string listenerUrl, string serverUrl ) : System | ||
listenerUrl | string | |
serverUrl | string | |
return | System |