This topic has not yet been rated - Rate this topic

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 int SendPacketsSendSize { get; set; }

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

Supported in: 4, 3.5 SP1, 3.0 SP1, 2.0 SP1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.