CSharpTest.Net
OnClientClosed Event
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.IO Namespace > TcpServer Class : OnClientClosed Event

Glossary Item Box

Performs the processing of the request on one of the worker threads

Syntax

Visual Basic (Declaration) 
Public Event OnClientClosed As EventHandler(Of TcpClientEventArgs)
C# 
public event EventHandler<TcpClientEventArgs> OnClientClosed

Event Data

The event handler receives an argument of type TcpClientEventArgs containing data related to this event. The following TcpClientEventArgs properties provide information specific to this event.

PropertyDescription
BytesAvailable Returns the number of bytes currently available.
BytesDesired Sets or Gets the number of bytes required to fulfill the request. The event will not be notified again until the required bytes have been read from the socket.
UserData Sets or Gets custom user information associated with this connection.

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys