TcpServer Methods

Methods

DisconnectAll Disconnects all of the connected clients.
(Inherited from ServerBase)
DisconnectOne Disconnects the specified connected client.
(Overrides ServerBaseDisconnectOne(Guid))
Dispose Releases all the resources used by the ServerBase object.
(Inherited from ServerBase)
Dispose(Boolean) Releases the unmanaged resources used by the ServerBase object and optionally releases the managed resources.
(Inherited from ServerBase)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Initialize Initializes the server.
(Inherited from ServerBase)
IsClientConnected Determines whether the given client is currently connected to the server.
(Inherited from ServerBase)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Multicast(Byte) Sends data to all of the connected clients synchronously.
(Inherited from ServerBase)
Multicast(String) Sends data to all of the connected clients synchronously.
(Inherited from ServerBase)
Multicast(Byte, Int32, Int32) Sends data to all of the connected clients synchronously.
(Inherited from ServerBase)
MulticastAsync(Byte) Sends data to all of the connected clients asynchronously.
(Inherited from ServerBase)
MulticastAsync(String) Sends data to all of the connected clients asynchronously.
(Inherited from ServerBase)
MulticastAsync(Byte, Int32, Int32) Sends data to all of the connected clients asynchronously.
(Inherited from ServerBase)
OnClientConnected Raises the ClientConnected event.
(Inherited from ServerBase)
OnClientConnectingException Raises the ClientConnectingException event.
(Inherited from ServerBase)
OnClientDisconnected Raises the ClientDisconnected event.
(Inherited from ServerBase)
OnReceiveClientData Raises the ReceiveClientData event.
(Inherited from ServerBase)
OnReceiveClientDataComplete Raises the ReceiveClientDataComplete event.
(Inherited from ServerBase)
OnReceiveClientDataException(Guid, Exception) Raises the ReceiveClientDataException event.
(Overrides ServerBaseOnReceiveClientDataException(Guid, Exception))
OnReceiveClientDataException(Guid, SocketException) Raises the ReceiveClientDataException event.
OnSendClientDataComplete Raises the SendClientDataComplete event.
(Inherited from ServerBase)
OnSendClientDataException Raises the SendClientDataException event.
(Overrides ServerBaseOnSendClientDataException(Guid, Exception))
OnSendClientDataStart Raises the SendClientDataStart event.
(Inherited from ServerBase)
OnServerStarted Raises the ServerStarted event.
(Inherited from ServerBase)
OnServerStopped Raises the ServerStopped event.
(Inherited from ServerBase)
Read Reads a number of bytes from the current received data buffer and writes those bytes into a byte array at the specified offset.
(Overrides ServerBaseRead(Guid, Byte, Int32, Int32))
ReStart Re-starts the server if currently running.
(Inherited from ServerBase)
SendDataToAsync Sends data to the specified client asynchronously.
(Overrides ServerBaseSendDataToAsync(Guid, Byte, Int32, Int32))
SendTo(Guid, Byte) Sends data to the specified client synchronously.
(Inherited from ServerBase)
SendTo(Guid, String) Sends data to the specified client synchronously.
(Inherited from ServerBase)
SendTo(Guid, Byte, Int32, Int32) Sends data to the specified client synchronously.
(Inherited from ServerBase)
SendToAsync(Guid, Byte) Sends data to the specified client asynchronously.
(Inherited from ServerBase)
SendToAsync(Guid, String) Sends data to the specified client asynchronously.
(Inherited from ServerBase)
SendToAsync(Guid, Byte, Int32, Int32) Sends data to the specified client asynchronously.
(Inherited from ServerBase)
Start Starts the TcpServer synchronously and begins accepting client connections asynchronously.
(Overrides ServerBaseStart)
Stop Stops the TcpServer synchronously and disconnects all connected clients.
(Overrides ServerBaseStop)
ToStringReturns a string that represents the current object.
(Inherited from Object)
TryGetClient Gets the TransportProviderT object associated with the specified client ID.
TryGetClientPrincipal Gets the WindowsPrincipal object associated with the specified client ID.
ValidateConfigurationString Validates the specified configurationString.
(Overrides ServerBaseValidateConfigurationString(String))

See Also