Click or drag to resize

IServer Methods

The IServer type exposes the following members.

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