SocketAsyncEventArgs::SendPacketsSendSize Property

 

Gets or sets the size, in bytes, of the data block used in the send operation.

Namespace:   System.Net.Sockets
Assembly:  System (in System.dll)

public:
property int SendPacketsSendSize {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

An Int32 that contains the size, in bytes, of the data block used in the send operation.

Set this property to zero to let the sockets layer select a default send size. Setting this property to 0xFFFFFFFF enables the caller to control the size and content of each send request, achieved by using the SendPacketsElement::EndOfPacket property. This capability is useful for message protocols that place limitations on the size of individual send requests.

.NET Framework
Available since 2.0
Return to top
Show: