C# Class System.Net.Sockets.SocketPal

Mostra file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
Accept ( SafeCloseSocket handle, byte buffer, int &nameLen, SafeCloseSocket &socket ) : SocketError
AcceptAsync ( Socket socket, SafeCloseSocket handle, SafeCloseSocket acceptHandle, int receiveSize, int socketAddressSize, AcceptOverlappedAsyncResult asyncResult ) : SocketError
Bind ( SafeCloseSocket handle, byte buffer, int nameLen ) : SocketError
CheckDualModeReceiveSupport ( Socket socket ) : void
Connect ( SafeCloseSocket handle, byte socketAddress, int socketAddressLen ) : SocketError
ConnectAsync ( Socket socket, SafeCloseSocket handle, byte socketAddress, int socketAddressLen, ConnectOverlappedAsyncResult asyncResult ) : SocketError
CreateSocket ( AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType, SafeCloseSocket &socket ) : SocketError
GetAvailable ( SafeCloseSocket handle, int &available ) : SocketError
GetIPv6MulticastOption ( SafeCloseSocket handle, SocketOptionName optionName, IPv6MulticastOption &optionValue ) : SocketError
GetLastSocketError ( ) : SocketError
GetLingerOption ( SafeCloseSocket handle, LingerOption &optionValue ) : SocketError
GetMulticastOption ( SafeCloseSocket handle, SocketOptionName optionName, MulticastOption &optionValue ) : SocketError
GetPeerName ( SafeCloseSocket handle, byte buffer, int &nameLen ) : SocketError
GetSockName ( SafeCloseSocket handle, byte buffer, int &nameLen ) : SocketError
GetSockOpt ( SafeCloseSocket handle, SocketOptionLevel optionLevel, SocketOptionName optionName, byte optionValue, int &optionLength ) : SocketError
GetSockOpt ( SafeCloseSocket handle, SocketOptionLevel optionLevel, SocketOptionName optionName, int &optionValue ) : SocketError
GetSocketErrorForErrorCode ( System.Net.Interop errorCode ) : SocketError
Initialize ( ) : void
Listen ( SafeCloseSocket handle, int backlog ) : SocketError
Poll ( SafeCloseSocket handle, int microseconds, SelectMode mode, bool &status ) : SocketError
Receive ( SafeCloseSocket handle, IList buffers, SocketFlags &socketFlags, int &bytesTransferred ) : SocketError
Receive ( SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, int &bytesTransferred ) : SocketError
ReceiveAsync ( SafeCloseSocket handle, IList buffers, SocketFlags socketFlags, OverlappedAsyncResult asyncResult ) : SocketError
ReceiveAsync ( SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, OverlappedAsyncResult asyncResult ) : SocketError
ReceiveFrom ( SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, byte socketAddress, int &socketAddressLen, int &bytesTransferred ) : SocketError
ReceiveFromAsync ( SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, Internals socketAddress, OverlappedAsyncResult asyncResult ) : SocketError
ReceiveMessageFrom ( Socket socket, SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags &socketFlags, Internals socketAddress, Internals &receiveAddress, IPPacketInformation &ipPacketInformation, int &bytesTransferred ) : SocketError
ReceiveMessageFromAsync ( Socket socket, SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, Internals socketAddress, ReceiveMessageOverlappedAsyncResult asyncResult ) : SocketError
Select ( IList checkRead, IList checkWrite, IList checkError, int microseconds ) : SocketError
Send ( SafeCloseSocket handle, IList buffers, SocketFlags socketFlags, int &bytesTransferred ) : SocketError
Send ( SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, int &bytesTransferred ) : SocketError
SendAsync ( SafeCloseSocket handle, IList buffers, SocketFlags socketFlags, OverlappedAsyncResult asyncResult ) : SocketError
SendAsync ( SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, OverlappedAsyncResult asyncResult ) : SocketError
SendTo ( SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, byte socketAddress, int socketAddressLen, int &bytesTransferred ) : SocketError
SendToAsync ( SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, Internals socketAddress, OverlappedAsyncResult asyncResult ) : SocketError
SetBlocking ( SafeCloseSocket handle, bool shouldBlock, bool &willBlock ) : SocketError
SetIPProtectionLevel ( Socket socket, SocketOptionLevel optionLevel, int protectionLevel ) : void
SetIPv6MulticastOption ( SafeCloseSocket handle, SocketOptionName optionName, IPv6MulticastOption optionValue ) : SocketError
SetLingerOption ( SafeCloseSocket handle, LingerOption optionValue ) : SocketError
SetMulticastOption ( SafeCloseSocket handle, SocketOptionName optionName, MulticastOption optionValue ) : SocketError
SetReceivingDualModeIPv4PacketInformation ( Socket socket ) : void
SetSockOpt ( SafeCloseSocket handle, SocketOptionLevel optionLevel, SocketOptionName optionName, byte optionValue ) : SocketError
SetSockOpt ( SafeCloseSocket handle, SocketOptionLevel optionLevel, SocketOptionName optionName, int optionValue ) : SocketError
Shutdown ( SafeCloseSocket handle, bool isConnected, bool isDisconnected, SocketShutdown how ) : SocketError
TryCompleteAccept ( SafeCloseSocket socket, byte socketAddress, int &socketAddressLen, IntPtr &acceptedFd, SocketError &errorCode ) : bool
TryCompleteConnect ( SafeCloseSocket socket, int socketAddressLen, SocketError &errorCode ) : bool
TryCompleteReceiveFrom ( SafeCloseSocket socket, IList buffers, SocketFlags flags, byte socketAddress, int &socketAddressLen, int &bytesReceived, SocketFlags &receivedFlags, SocketError &errorCode ) : bool
TryCompleteReceiveFrom ( SafeCloseSocket socket, byte buffer, IList buffers, int offset, int count, SocketFlags flags, byte socketAddress, int &socketAddressLen, int &bytesReceived, SocketFlags &receivedFlags, SocketError &errorCode ) : bool
TryCompleteReceiveFrom ( SafeCloseSocket socket, byte buffer, int offset, int count, SocketFlags flags, byte socketAddress, int &socketAddressLen, int &bytesReceived, SocketFlags &receivedFlags, SocketError &errorCode ) : bool
TryCompleteReceiveMessageFrom ( SafeCloseSocket socket, byte buffer, int offset, int count, SocketFlags flags, byte socketAddress, int &socketAddressLen, bool isIPv4, bool isIPv6, int &bytesReceived, SocketFlags &receivedFlags, IPPacketInformation &ipPacketInformation, SocketError &errorCode ) : bool
TryCompleteSendTo ( SafeCloseSocket socket, IList buffers, int &bufferIndex, int &offset, SocketFlags flags, byte socketAddress, int socketAddressLen, int &bytesSent, SocketError &errorCode ) : bool
TryCompleteSendTo ( SafeCloseSocket socket, byte buffer, IList buffers, int &bufferIndex, int &offset, int &count, SocketFlags flags, byte socketAddress, int socketAddressLen, int &bytesSent, SocketError &errorCode ) : bool
TryCompleteSendTo ( SafeCloseSocket socket, byte buffer, int &offset, int &count, SocketFlags flags, byte socketAddress, int socketAddressLen, int &bytesSent, SocketError &errorCode ) : bool
TryStartConnect ( SafeCloseSocket socket, byte socketAddress, int socketAddressLen, SocketError &errorCode ) : bool
WindowsIoctl ( SafeCloseSocket handle, int ioControlCode, byte optionInValue, byte optionOutValue, int &optionLength ) : SocketError

Private Methods

Method Description
AddToPollArray ( System.Net.Interop arr, int arrLength, IList socketList, int &arrOffset, System.Net.Interop events ) : void
Disconnect ( Socket socket, SafeCloseSocket handle, bool reuseSocket ) : SocketError
DisconnectAsync ( Socket socket, SafeCloseSocket handle, bool reuseSocket, DisconnectOverlappedAsyncResult asyncResult ) : SocketError
FilterPollList ( IList socketList, System.Net.Interop arr, int arrEndOffset, System.Net.Interop desiredEvents ) : void
GetIPPacketInformation ( System.Net.Interop messageHeader, bool isIPv4, bool isIPv6 ) : IPPacketInformation
GetPlatformSupportsDualModeIPv4PacketInfo ( ) : bool
MicrosecondsToTimeValue ( long microseconds, System.Net.Interop &socketTime ) : void
Receive ( SafeCloseSocket socket, SocketFlags flags, IList buffers, byte socketAddress, int &socketAddressLen, SocketFlags &receivedFlags, System.Net.Interop &errno ) : int
Receive ( SafeCloseSocket socket, SocketFlags flags, byte buffer, int offset, int count, byte socketAddress, int &socketAddressLen, SocketFlags &receivedFlags, System.Net.Interop &errno ) : int
ReceiveMessageFrom ( SafeCloseSocket socket, SocketFlags flags, byte buffer, int offset, int count, byte socketAddress, int &socketAddressLen, bool isIPv4, bool isIPv6, SocketFlags &receivedFlags, IPPacketInformation &ipPacketInformation, System.Net.Interop &errno ) : int
SelectViaPoll ( IList checkRead, int checkReadInitialCount, IList checkWrite, int checkWriteInitialCount, IList checkError, int checkErrorInitialCount, System.Net.Interop events, int eventsLength, int microseconds ) : SocketError
Send ( SafeCloseSocket socket, SocketFlags flags, IList buffers, int &bufferIndex, int &offset, byte socketAddress, int socketAddressLen, System.Net.Interop &errno ) : int
Send ( SafeCloseSocket socket, SocketFlags flags, byte buffer, int &offset, int &count, byte socketAddress, int socketAddressLen, System.Net.Interop &errno ) : int

Method Details

Accept() public static method

public static Accept ( SafeCloseSocket handle, byte buffer, int &nameLen, SafeCloseSocket &socket ) : SocketError
handle SafeCloseSocket
buffer byte
nameLen int
socket SafeCloseSocket
return SocketError

AcceptAsync() public static method

public static AcceptAsync ( Socket socket, SafeCloseSocket handle, SafeCloseSocket acceptHandle, int receiveSize, int socketAddressSize, AcceptOverlappedAsyncResult asyncResult ) : SocketError
socket Socket
handle SafeCloseSocket
acceptHandle SafeCloseSocket
receiveSize int
socketAddressSize int
asyncResult AcceptOverlappedAsyncResult
return SocketError

Bind() public static method

public static Bind ( SafeCloseSocket handle, byte buffer, int nameLen ) : SocketError
handle SafeCloseSocket
buffer byte
nameLen int
return SocketError

CheckDualModeReceiveSupport() public static method

public static CheckDualModeReceiveSupport ( Socket socket ) : void
socket Socket
return void

Connect() public static method

public static Connect ( SafeCloseSocket handle, byte socketAddress, int socketAddressLen ) : SocketError
handle SafeCloseSocket
socketAddress byte
socketAddressLen int
return SocketError

ConnectAsync() public static method

public static ConnectAsync ( Socket socket, SafeCloseSocket handle, byte socketAddress, int socketAddressLen, ConnectOverlappedAsyncResult asyncResult ) : SocketError
socket Socket
handle SafeCloseSocket
socketAddress byte
socketAddressLen int
asyncResult ConnectOverlappedAsyncResult
return SocketError

CreateSocket() public static method

public static CreateSocket ( AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType, SafeCloseSocket &socket ) : SocketError
addressFamily AddressFamily
socketType SocketType
protocolType ProtocolType
socket SafeCloseSocket
return SocketError

GetAvailable() public static method

public static GetAvailable ( SafeCloseSocket handle, int &available ) : SocketError
handle SafeCloseSocket
available int
return SocketError

GetIPv6MulticastOption() public static method

public static GetIPv6MulticastOption ( SafeCloseSocket handle, SocketOptionName optionName, IPv6MulticastOption &optionValue ) : SocketError
handle SafeCloseSocket
optionName SocketOptionName
optionValue IPv6MulticastOption
return SocketError

GetLastSocketError() public static method

public static GetLastSocketError ( ) : SocketError
return SocketError

GetLingerOption() public static method

public static GetLingerOption ( SafeCloseSocket handle, LingerOption &optionValue ) : SocketError
handle SafeCloseSocket
optionValue LingerOption
return SocketError

GetMulticastOption() public static method

public static GetMulticastOption ( SafeCloseSocket handle, SocketOptionName optionName, MulticastOption &optionValue ) : SocketError
handle SafeCloseSocket
optionName SocketOptionName
optionValue MulticastOption
return SocketError

GetPeerName() public static method

public static GetPeerName ( SafeCloseSocket handle, byte buffer, int &nameLen ) : SocketError
handle SafeCloseSocket
buffer byte
nameLen int
return SocketError

GetSockName() public static method

public static GetSockName ( SafeCloseSocket handle, byte buffer, int &nameLen ) : SocketError
handle SafeCloseSocket
buffer byte
nameLen int
return SocketError

GetSockOpt() public static method

public static GetSockOpt ( SafeCloseSocket handle, SocketOptionLevel optionLevel, SocketOptionName optionName, byte optionValue, int &optionLength ) : SocketError
handle SafeCloseSocket
optionLevel SocketOptionLevel
optionName SocketOptionName
optionValue byte
optionLength int
return SocketError

GetSockOpt() public static method

public static GetSockOpt ( SafeCloseSocket handle, SocketOptionLevel optionLevel, SocketOptionName optionName, int &optionValue ) : SocketError
handle SafeCloseSocket
optionLevel SocketOptionLevel
optionName SocketOptionName
optionValue int
return SocketError

GetSocketErrorForErrorCode() public static method

public static GetSocketErrorForErrorCode ( System.Net.Interop errorCode ) : SocketError
errorCode System.Net.Interop
return SocketError

Initialize() public static method

public static Initialize ( ) : void
return void

Listen() public static method

public static Listen ( SafeCloseSocket handle, int backlog ) : SocketError
handle SafeCloseSocket
backlog int
return SocketError

Poll() public static method

public static Poll ( SafeCloseSocket handle, int microseconds, SelectMode mode, bool &status ) : SocketError
handle SafeCloseSocket
microseconds int
mode SelectMode
status bool
return SocketError

Receive() public static method

public static Receive ( SafeCloseSocket handle, IList buffers, SocketFlags &socketFlags, int &bytesTransferred ) : SocketError
handle SafeCloseSocket
buffers IList
socketFlags SocketFlags
bytesTransferred int
return SocketError

Receive() public static method

public static Receive ( SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, int &bytesTransferred ) : SocketError
handle SafeCloseSocket
buffer byte
offset int
count int
socketFlags SocketFlags
bytesTransferred int
return SocketError

ReceiveAsync() public static method

public static ReceiveAsync ( SafeCloseSocket handle, IList buffers, SocketFlags socketFlags, OverlappedAsyncResult asyncResult ) : SocketError
handle SafeCloseSocket
buffers IList
socketFlags SocketFlags
asyncResult OverlappedAsyncResult
return SocketError

ReceiveAsync() public static method

public static ReceiveAsync ( SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, OverlappedAsyncResult asyncResult ) : SocketError
handle SafeCloseSocket
buffer byte
offset int
count int
socketFlags SocketFlags
asyncResult OverlappedAsyncResult
return SocketError

ReceiveFrom() public static method

public static ReceiveFrom ( SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, byte socketAddress, int &socketAddressLen, int &bytesTransferred ) : SocketError
handle SafeCloseSocket
buffer byte
offset int
count int
socketFlags SocketFlags
socketAddress byte
socketAddressLen int
bytesTransferred int
return SocketError

ReceiveFromAsync() public static method

public static ReceiveFromAsync ( SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, Internals socketAddress, OverlappedAsyncResult asyncResult ) : SocketError
handle SafeCloseSocket
buffer byte
offset int
count int
socketFlags SocketFlags
socketAddress Internals
asyncResult OverlappedAsyncResult
return SocketError

ReceiveMessageFrom() public static method

public static ReceiveMessageFrom ( Socket socket, SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags &socketFlags, Internals socketAddress, Internals &receiveAddress, IPPacketInformation &ipPacketInformation, int &bytesTransferred ) : SocketError
socket Socket
handle SafeCloseSocket
buffer byte
offset int
count int
socketFlags SocketFlags
socketAddress Internals
receiveAddress Internals
ipPacketInformation IPPacketInformation
bytesTransferred int
return SocketError

ReceiveMessageFromAsync() public static method

public static ReceiveMessageFromAsync ( Socket socket, SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, Internals socketAddress, ReceiveMessageOverlappedAsyncResult asyncResult ) : SocketError
socket Socket
handle SafeCloseSocket
buffer byte
offset int
count int
socketFlags SocketFlags
socketAddress Internals
asyncResult ReceiveMessageOverlappedAsyncResult
return SocketError

Select() public static method

public static Select ( IList checkRead, IList checkWrite, IList checkError, int microseconds ) : SocketError
checkRead IList
checkWrite IList
checkError IList
microseconds int
return SocketError

Send() public static method

public static Send ( SafeCloseSocket handle, IList buffers, SocketFlags socketFlags, int &bytesTransferred ) : SocketError
handle SafeCloseSocket
buffers IList
socketFlags SocketFlags
bytesTransferred int
return SocketError

Send() public static method

public static Send ( SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, int &bytesTransferred ) : SocketError
handle SafeCloseSocket
buffer byte
offset int
count int
socketFlags SocketFlags
bytesTransferred int
return SocketError

SendAsync() public static method

public static SendAsync ( SafeCloseSocket handle, IList buffers, SocketFlags socketFlags, OverlappedAsyncResult asyncResult ) : SocketError
handle SafeCloseSocket
buffers IList
socketFlags SocketFlags
asyncResult OverlappedAsyncResult
return SocketError

SendAsync() public static method

public static SendAsync ( SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, OverlappedAsyncResult asyncResult ) : SocketError
handle SafeCloseSocket
buffer byte
offset int
count int
socketFlags SocketFlags
asyncResult OverlappedAsyncResult
return SocketError

SendTo() public static method

public static SendTo ( SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, byte socketAddress, int socketAddressLen, int &bytesTransferred ) : SocketError
handle SafeCloseSocket
buffer byte
offset int
count int
socketFlags SocketFlags
socketAddress byte
socketAddressLen int
bytesTransferred int
return SocketError

SendToAsync() public static method

public static SendToAsync ( SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, Internals socketAddress, OverlappedAsyncResult asyncResult ) : SocketError
handle SafeCloseSocket
buffer byte
offset int
count int
socketFlags SocketFlags
socketAddress Internals
asyncResult OverlappedAsyncResult
return SocketError

SetBlocking() public static method

public static SetBlocking ( SafeCloseSocket handle, bool shouldBlock, bool &willBlock ) : SocketError
handle SafeCloseSocket
shouldBlock bool
willBlock bool
return SocketError

SetIPProtectionLevel() public static method

public static SetIPProtectionLevel ( Socket socket, SocketOptionLevel optionLevel, int protectionLevel ) : void
socket Socket
optionLevel SocketOptionLevel
protectionLevel int
return void

SetIPv6MulticastOption() public static method

public static SetIPv6MulticastOption ( SafeCloseSocket handle, SocketOptionName optionName, IPv6MulticastOption optionValue ) : SocketError
handle SafeCloseSocket
optionName SocketOptionName
optionValue IPv6MulticastOption
return SocketError

SetLingerOption() public static method

public static SetLingerOption ( SafeCloseSocket handle, LingerOption optionValue ) : SocketError
handle SafeCloseSocket
optionValue LingerOption
return SocketError

SetMulticastOption() public static method

public static SetMulticastOption ( SafeCloseSocket handle, SocketOptionName optionName, MulticastOption optionValue ) : SocketError
handle SafeCloseSocket
optionName SocketOptionName
optionValue MulticastOption
return SocketError

SetReceivingDualModeIPv4PacketInformation() public static method

public static SetReceivingDualModeIPv4PacketInformation ( Socket socket ) : void
socket Socket
return void

SetSockOpt() public static method

public static SetSockOpt ( SafeCloseSocket handle, SocketOptionLevel optionLevel, SocketOptionName optionName, byte optionValue ) : SocketError
handle SafeCloseSocket
optionLevel SocketOptionLevel
optionName SocketOptionName
optionValue byte
return SocketError

SetSockOpt() public static method

public static SetSockOpt ( SafeCloseSocket handle, SocketOptionLevel optionLevel, SocketOptionName optionName, int optionValue ) : SocketError
handle SafeCloseSocket
optionLevel SocketOptionLevel
optionName SocketOptionName
optionValue int
return SocketError

Shutdown() public static method

public static Shutdown ( SafeCloseSocket handle, bool isConnected, bool isDisconnected, SocketShutdown how ) : SocketError
handle SafeCloseSocket
isConnected bool
isDisconnected bool
how SocketShutdown
return SocketError

TryCompleteAccept() public static method

public static TryCompleteAccept ( SafeCloseSocket socket, byte socketAddress, int &socketAddressLen, IntPtr &acceptedFd, SocketError &errorCode ) : bool
socket SafeCloseSocket
socketAddress byte
socketAddressLen int
acceptedFd IntPtr
errorCode SocketError
return bool

TryCompleteConnect() public static method

public static TryCompleteConnect ( SafeCloseSocket socket, int socketAddressLen, SocketError &errorCode ) : bool
socket SafeCloseSocket
socketAddressLen int
errorCode SocketError
return bool

TryCompleteReceiveFrom() public static method

public static TryCompleteReceiveFrom ( SafeCloseSocket socket, IList buffers, SocketFlags flags, byte socketAddress, int &socketAddressLen, int &bytesReceived, SocketFlags &receivedFlags, SocketError &errorCode ) : bool
socket SafeCloseSocket
buffers IList
flags SocketFlags
socketAddress byte
socketAddressLen int
bytesReceived int
receivedFlags SocketFlags
errorCode SocketError
return bool

TryCompleteReceiveFrom() public static method

public static TryCompleteReceiveFrom ( SafeCloseSocket socket, byte buffer, IList buffers, int offset, int count, SocketFlags flags, byte socketAddress, int &socketAddressLen, int &bytesReceived, SocketFlags &receivedFlags, SocketError &errorCode ) : bool
socket SafeCloseSocket
buffer byte
buffers IList
offset int
count int
flags SocketFlags
socketAddress byte
socketAddressLen int
bytesReceived int
receivedFlags SocketFlags
errorCode SocketError
return bool

TryCompleteReceiveFrom() public static method

public static TryCompleteReceiveFrom ( SafeCloseSocket socket, byte buffer, int offset, int count, SocketFlags flags, byte socketAddress, int &socketAddressLen, int &bytesReceived, SocketFlags &receivedFlags, SocketError &errorCode ) : bool
socket SafeCloseSocket
buffer byte
offset int
count int
flags SocketFlags
socketAddress byte
socketAddressLen int
bytesReceived int
receivedFlags SocketFlags
errorCode SocketError
return bool

TryCompleteReceiveMessageFrom() public static method

public static TryCompleteReceiveMessageFrom ( SafeCloseSocket socket, byte buffer, int offset, int count, SocketFlags flags, byte socketAddress, int &socketAddressLen, bool isIPv4, bool isIPv6, int &bytesReceived, SocketFlags &receivedFlags, IPPacketInformation &ipPacketInformation, SocketError &errorCode ) : bool
socket SafeCloseSocket
buffer byte
offset int
count int
flags SocketFlags
socketAddress byte
socketAddressLen int
isIPv4 bool
isIPv6 bool
bytesReceived int
receivedFlags SocketFlags
ipPacketInformation IPPacketInformation
errorCode SocketError
return bool

TryCompleteSendTo() public static method

public static TryCompleteSendTo ( SafeCloseSocket socket, IList buffers, int &bufferIndex, int &offset, SocketFlags flags, byte socketAddress, int socketAddressLen, int &bytesSent, SocketError &errorCode ) : bool
socket SafeCloseSocket
buffers IList
bufferIndex int
offset int
flags SocketFlags
socketAddress byte
socketAddressLen int
bytesSent int
errorCode SocketError
return bool

TryCompleteSendTo() public static method

public static TryCompleteSendTo ( SafeCloseSocket socket, byte buffer, IList buffers, int &bufferIndex, int &offset, int &count, SocketFlags flags, byte socketAddress, int socketAddressLen, int &bytesSent, SocketError &errorCode ) : bool
socket SafeCloseSocket
buffer byte
buffers IList
bufferIndex int
offset int
count int
flags SocketFlags
socketAddress byte
socketAddressLen int
bytesSent int
errorCode SocketError
return bool

TryCompleteSendTo() public static method

public static TryCompleteSendTo ( SafeCloseSocket socket, byte buffer, int &offset, int &count, SocketFlags flags, byte socketAddress, int socketAddressLen, int &bytesSent, SocketError &errorCode ) : bool
socket SafeCloseSocket
buffer byte
offset int
count int
flags SocketFlags
socketAddress byte
socketAddressLen int
bytesSent int
errorCode SocketError
return bool

TryStartConnect() public static method

public static TryStartConnect ( SafeCloseSocket socket, byte socketAddress, int socketAddressLen, SocketError &errorCode ) : bool
socket SafeCloseSocket
socketAddress byte
socketAddressLen int
errorCode SocketError
return bool

WindowsIoctl() public static method

public static WindowsIoctl ( SafeCloseSocket handle, int ioControlCode, byte optionInValue, byte optionOutValue, int &optionLength ) : SocketError
handle SafeCloseSocket
ioControlCode int
optionInValue byte
optionOutValue byte
optionLength int
return SocketError