Export (0) Print
Expand All

SocketAsyncEventArgs Properties

The SocketAsyncEventArgs type exposes the following members.

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

Community Additions

ADD
Show:
© 2014 Microsoft