IServer Methods |
The IServer type exposes the following members.
Name | Description | |
---|---|---|
DisconnectAll | Disconnects all of the connected clients. | |
DisconnectOne | Disconnects a connected client. | |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable) |
|
Initialize |
Initializes the state of the object.
(Inherited from ISupportLifecycle) |
|
Multicast | Sends data to all of the connected clients synchronously. | |
MulticastAsync | Sends data to all of the connected clients asynchronously. | |
Read | Reads a number of bytes from the current received data buffer and writes those bytes into a byte array at the specified offset. | |
SendTo | Sends data to the specified client synchronously. | |
SendToAsync | Sends data to the specified client asynchronously. | |
Start | Starts the server. | |
Stop | Stops the server. |