CSharpTest.Net
TcpClientEventArgs Class Members
See Also  Fields  Properties  Methods  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.IO Namespace : TcpClientEventArgs Class


Glossary Item Box

The following tables list the members exposed by TcpClientEventArgs.

Protected Constructors

 NameDescription
Protected ConstructorTcpClientEventArgs Constructorctor for TcpClientEventArgs  
Top

Public Fields

 NameDescription
Public FieldClientReturns the TcpClient for this connection, should not be used directly.  
Public FieldHostReturns the TcpServer  
Top

Public Properties

 NameDescription
Public PropertyBytesAvailableReturns the number of bytes currently available.  
Public PropertyBytesDesiredSets 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.  
Public PropertyUserDataSets or Gets custom user information associated with this connection.  
Top

Public Methods

 NameDescription
Public MethodCloseCloses the connection.  
Public MethodConsumeBytesConsumes (removes from buffer) the number of bytes specified  
Public MethodGetBufferReturns the buffer being used for reading (not a copy, be careful)  
Public MethodReadReads (and consumes) the number of bytes specified  
Public MethodWriteWrites a response to the client  
Top

See Also

Generated with Document! X 2011 by Innovasys