SocketAsyncEventArgs Properties
.NET Framework 3.5
The SocketAsyncEventArgs type exposes the following members.
| Name | Description | |
|---|---|---|
|
AcceptSocket | Gets or sets the socket to use or the socket created for accepting a connection with an asynchronous socket method. |
|
Buffer | Gets the data buffer to use with an asynchronous socket method. |
|
BufferList | Gets or sets an array of data buffers to use with an asynchronous socket method. |
|
BytesTransferred | Gets the number of bytes transferred in the socket operation. |
|
Count | Gets the maximum amount of data, in bytes, to send or receive in an asynchronous operation. |
|
DisconnectReuseSocket | Gets or sets a value that specifies if socket can be reused after a disconnect operation. |
|
LastOperation | Gets the type of socket operation most recently performed with this context object. |
|
Offset | Gets the offset, in bytes, into the data buffer referenced by the Buffer property. |
|
ReceiveMessageFromPacketInfo | Gets the IP address and interface of a received packet. |
|
RemoteEndPoint | Gets or sets the remote IP endpoint for an asynchronous operation. |
|
SendPacketsElements | Gets or sets an array of buffers to be sent for an asynchronous operation used by the Socket.SendPacketsAsync method. |
|
SendPacketsFlags | Gets or sets a bitwise combination of TransmitFileOptions values for an asynchronous operation used by the Socket.SendPacketsAsync method. |
|
SendPacketsSendSize | Gets or sets the size, in bytes, of the data block used in the send operation. |
|
SocketError | Gets or sets the result of the asynchronous socket operation. |
|
SocketFlags | Gets the results of an asynchronous socket operation or sets the behavior of an asynchronous operation. |
|
UserToken | Gets or sets a user or application object associated with this asynchronous socket operation. |