C# Class System.Net.Sockets.ReceiveMessageOverlappedAsyncResult

Inheritance: BaseOverlappedAsyncResult
显示文件 Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
GetSocketAddressSize int
GetSocketAddressSizePtr System.IntPtr
InitIPPacketInformation void
LogBuffer void
PostCompletion object
ReceiveMessageOverlappedAsyncResult System
SetUnmanagedStructures void
SyncReleaseUnmanagedStructures void

Public Methods

Method Description
CompletionCallback ( int numBytes, byte socketAddress, int socketAddressSize, SocketFlags receivedFlags, IPPacketInformation ipPacketInformation, SocketError errorCode ) : void

Protected Methods

Method Description
ForceReleaseUnmanagedStructures ( ) : void

Private Methods

Method Description
GetSocketAddressSize ( ) : int
GetSocketAddressSizePtr ( ) : IntPtr
InitIPPacketInformation ( ) : void
LogBuffer ( int size ) : void
PostCompletion ( int numBytes ) : object
ReceiveMessageOverlappedAsyncResult ( Socket socket, Object asyncState, AsyncCallback asyncCallback ) : System
SetUnmanagedStructures ( byte buffer, int offset, int size, Internals socketAddress, SocketFlags socketFlags ) : void
SyncReleaseUnmanagedStructures ( ) : void

Method Details

CompletionCallback() public method

public CompletionCallback ( int numBytes, byte socketAddress, int socketAddressSize, SocketFlags receivedFlags, IPPacketInformation ipPacketInformation, SocketError errorCode ) : void
numBytes int
socketAddress byte
socketAddressSize int
receivedFlags SocketFlags
ipPacketInformation IPPacketInformation
errorCode SocketError
return void

ForceReleaseUnmanagedStructures() protected method

protected ForceReleaseUnmanagedStructures ( ) : void
return void