The properties of System.Net.Sockets.SocketAsyncEventArgs are listed below. For a list of all members, see the SocketAsyncEventArgs Members list.
See Also: Inherited members from System.EventArgs
AcceptSocket | Socket.
Gets or sets the socket to use or the socket created for accepting a connection with an asynchronous socket method. | |
[read-only] | Buffer | byte[].
Gets the data buffer to use with an asynchronous socket method. |
BufferList | IList<ArraySegment<byte>>.
Gets or sets an array of data buffers to use with an asynchronous socket method. | |
[read-only] | BytesTransferred | int.
Gets the number of bytes transferred in the socket operation. |
[read-only] | ConnectByNameError | Exception.
Gets the exception in the case of a connection failure when a System.Net.DnsEndPoint was used. |
[read-only] | Count | int.
Gets the maximum amount of data, in bytes, to send or receive in an asynchronous operation. |
DisconnectReuseSocket | bool.
Gets or sets a value that specifies if socket can be reused after a disconnect operation. | |
[read-only] | LastOperation | SocketAsyncOperation.
Gets the type of socket operation most recently performed with this context object. |
[read-only] | Offset | int.
Gets the offset, in bytes, into the data buffer referenced by the SocketAsyncEventArgs.Buffer property. |
[read-only] | ReceiveMessageFromPacketInfo | IPPacketInformation.
Gets the IP address and interface of a received packet. |
RemoteEndPoint | System.Net.EndPoint.
Gets or sets the remote IP endpoint for an asynchronous operation. | |
SendPacketsElements | SendPacketsElement[].
Gets or sets an array of buffers to be sent for an asynchronous operation used by the Socket.SendPacketsAsync(SocketAsyncEventArgs) method. | |
SendPacketsFlags | TransmitFileOptions.
Gets or sets a bitwise combination of System.Net.Sockets.TransmitFileOptions values for an asynchronous operation used by the Socket.SendPacketsAsync(SocketAsyncEventArgs) method. | |
SendPacketsSendSize | int.
Gets or sets the size, in bytes, of the data block used in the send operation. | |
SocketError | SocketError.
Gets or sets the result of the asynchronous socket operation. | |
SocketFlags | SocketFlags.
Gets the results of an asynchronous socket operation or sets the behavior of an asynchronous operation. | |
UserToken | object.
Gets or sets a user or application object associated with this asynchronous socket operation. |