C# Class System.Net.Sockets.SocketPal

Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

AcceptAsync() public static méthode

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
Résultat SocketError

Bind() public static méthode

public static Bind ( SafeCloseSocket handle, byte buffer, int nameLen ) : SocketError
handle SafeCloseSocket
buffer byte
nameLen int
Résultat SocketError

CheckDualModeReceiveSupport() public static méthode

public static CheckDualModeReceiveSupport ( Socket socket ) : void
socket Socket
Résultat void

Connect() public static méthode

public static Connect ( SafeCloseSocket handle, byte socketAddress, int socketAddressLen ) : SocketError
handle SafeCloseSocket
socketAddress byte
socketAddressLen int
Résultat SocketError

ConnectAsync() public static méthode

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

CreateSocket() public static méthode

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

GetAvailable() public static méthode

public static GetAvailable ( SafeCloseSocket handle, int &available ) : SocketError
handle SafeCloseSocket
available int
Résultat SocketError

GetIPv6MulticastOption() public static méthode

public static GetIPv6MulticastOption ( SafeCloseSocket handle, SocketOptionName optionName, IPv6MulticastOption &optionValue ) : SocketError
handle SafeCloseSocket
optionName SocketOptionName
optionValue IPv6MulticastOption
Résultat SocketError

GetLastSocketError() public static méthode

public static GetLastSocketError ( ) : SocketError
Résultat SocketError

GetLingerOption() public static méthode

public static GetLingerOption ( SafeCloseSocket handle, LingerOption &optionValue ) : SocketError
handle SafeCloseSocket
optionValue LingerOption
Résultat SocketError

GetMulticastOption() public static méthode

public static GetMulticastOption ( SafeCloseSocket handle, SocketOptionName optionName, MulticastOption &optionValue ) : SocketError
handle SafeCloseSocket
optionName SocketOptionName
optionValue MulticastOption
Résultat SocketError

GetPeerName() public static méthode

public static GetPeerName ( SafeCloseSocket handle, byte buffer, int &nameLen ) : SocketError
handle SafeCloseSocket
buffer byte
nameLen int
Résultat SocketError

GetSockName() public static méthode

public static GetSockName ( SafeCloseSocket handle, byte buffer, int &nameLen ) : SocketError
handle SafeCloseSocket
buffer byte
nameLen int
Résultat SocketError

GetSockOpt() public static méthode

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

GetSockOpt() public static méthode

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

GetSocketErrorForErrorCode() public static méthode

public static GetSocketErrorForErrorCode ( System.Net.Interop errorCode ) : SocketError
errorCode System.Net.Interop
Résultat SocketError

Initialize() public static méthode

public static Initialize ( ) : void
Résultat void

Listen() public static méthode

public static Listen ( SafeCloseSocket handle, int backlog ) : SocketError
handle SafeCloseSocket
backlog int
Résultat SocketError

Poll() public static méthode

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

Receive() public static méthode

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

Receive() public static méthode

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
Résultat SocketError

ReceiveAsync() public static méthode

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

ReceiveAsync() public static méthode

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
Résultat SocketError

ReceiveFrom() public static méthode

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
Résultat SocketError

ReceiveFromAsync() public static méthode

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
Résultat SocketError

ReceiveMessageFrom() public static méthode

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
Résultat SocketError

ReceiveMessageFromAsync() public static méthode

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
Résultat SocketError

Select() public static méthode

public static Select ( IList checkRead, IList checkWrite, IList checkError, int microseconds ) : SocketError
checkRead IList
checkWrite IList
checkError IList
microseconds int
Résultat SocketError

Send() public static méthode

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

Send() public static méthode

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
Résultat SocketError

SendAsync() public static méthode

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

SendAsync() public static méthode

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
Résultat SocketError

SendTo() public static méthode

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
Résultat SocketError

SendToAsync() public static méthode

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
Résultat SocketError

SetBlocking() public static méthode

public static SetBlocking ( SafeCloseSocket handle, bool shouldBlock, bool &willBlock ) : SocketError
handle SafeCloseSocket
shouldBlock bool
willBlock bool
Résultat SocketError

SetIPProtectionLevel() public static méthode

public static SetIPProtectionLevel ( Socket socket, SocketOptionLevel optionLevel, int protectionLevel ) : void
socket Socket
optionLevel SocketOptionLevel
protectionLevel int
Résultat void

SetIPv6MulticastOption() public static méthode

public static SetIPv6MulticastOption ( SafeCloseSocket handle, SocketOptionName optionName, IPv6MulticastOption optionValue ) : SocketError
handle SafeCloseSocket
optionName SocketOptionName
optionValue IPv6MulticastOption
Résultat SocketError

SetLingerOption() public static méthode

public static SetLingerOption ( SafeCloseSocket handle, LingerOption optionValue ) : SocketError
handle SafeCloseSocket
optionValue LingerOption
Résultat SocketError

SetMulticastOption() public static méthode

public static SetMulticastOption ( SafeCloseSocket handle, SocketOptionName optionName, MulticastOption optionValue ) : SocketError
handle SafeCloseSocket
optionName SocketOptionName
optionValue MulticastOption
Résultat SocketError

SetReceivingDualModeIPv4PacketInformation() public static méthode

public static SetReceivingDualModeIPv4PacketInformation ( Socket socket ) : void
socket Socket
Résultat void

SetSockOpt() public static méthode

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

SetSockOpt() public static méthode

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

Shutdown() public static méthode

public static Shutdown ( SafeCloseSocket handle, bool isConnected, bool isDisconnected, SocketShutdown how ) : SocketError
handle SafeCloseSocket
isConnected bool
isDisconnected bool
how SocketShutdown
Résultat SocketError

TryCompleteAccept() public static méthode

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

TryCompleteConnect() public static méthode

public static TryCompleteConnect ( SafeCloseSocket socket, int socketAddressLen, SocketError &errorCode ) : bool
socket SafeCloseSocket
socketAddressLen int
errorCode SocketError
Résultat bool

TryCompleteReceiveFrom() public static méthode

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
Résultat bool

TryCompleteReceiveFrom() public static méthode

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
Résultat bool

TryCompleteReceiveFrom() public static méthode

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
Résultat bool

TryCompleteReceiveMessageFrom() public static méthode

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
Résultat bool

TryCompleteSendTo() public static méthode

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
Résultat bool

TryCompleteSendTo() public static méthode

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
Résultat bool

TryCompleteSendTo() public static méthode

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
Résultat bool

TryStartConnect() public static méthode

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

WindowsIoctl() public static méthode

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