SocketAsyncEventArgs.SendPacketsSendSize Property

Definition

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

public:
 property int SendPacketsSendSize { int get(); void set(int value); };
public int SendPacketsSendSize { get; set; }
member this.SendPacketsSendSize : int with get, set
Public Property SendPacketsSendSize As Integer

Property Value

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

Remarks

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.

Applies to

See also