SocketAsyncEventArgs.SendPacketsElements Property


Gets or sets an array of buffers to be sent for an asynchronous operation used by the Socket.SendPacketsAsync method.

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

public SendPacketsElement[] SendPacketsElements { get; set; }

Property Value

Type: System.Net.Sockets.SendPacketsElement[]

An array of SendPacketsElement objects that represent an array of buffers to be sent.

The array of buffers can represent a file or files in memory or a set of memory data buffers. This property is used with the Socket.SendPacketsAsync method.

.NET Framework
Available since 2.0
Return to top