Click or drag to resize

TcpClient Events

The TcpClient type exposes the following members.

Events
  Name Description
Public event ConnectionAttempt Occurs when client is attempting connection to the server.
(Inherited from ClientBase)
Public event ConnectionEstablished Occurs when client connection to the server is established.
(Inherited from ClientBase)
Public event ConnectionException Occurs when an Exception is encountered during connection attempt to the server.
(Inherited from ClientBase)
Public event ConnectionTerminated Occurs when client connection to the server is terminated.
(Inherited from ClientBase)
Public event Disposed Occurs when the component is disposed by a call to the Dispose method.
(Inherited from Component)
Public event ReceiveData Occurs when unprocessed data has been received from the server.
(Inherited from ClientBase)
Public event ReceiveDataComplete Occurs when data received from the server has been processed and is ready for consumption.
(Inherited from ClientBase)
Public event ReceiveDataException Occurs when an Exception is encountered when receiving data from the server.
(Inherited from ClientBase)
Public event SendDataComplete Occurs when the client has successfully sent data to the server.
(Inherited from ClientBase)
Public event SendDataException Occurs when an Exception is encountered when sending data to the server.
(Inherited from ClientBase)
Public event SendDataStart Occurs when the client begins sending data to the server.
(Inherited from ClientBase)
Public event UnhandledUserException Occurs when an Exception is encountered in a user-defined function via an event dispatch.
(Inherited from ClientBase)
Top
See Also