C# Класс System.Net.Sockets.SocketPal

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

Accept() публичный статический Метод

public static Accept ( SafeCloseSocket handle, byte buffer, int &nameLen, SafeCloseSocket &socket ) : SocketError
handle SafeCloseSocket
buffer byte
nameLen int
socket SafeCloseSocket
Результат SocketError

AcceptAsync() публичный статический Метод

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
Результат SocketError

Bind() публичный статический Метод

public static Bind ( SafeCloseSocket handle, byte buffer, int nameLen ) : SocketError
handle SafeCloseSocket
buffer byte
nameLen int
Результат SocketError

CheckDualModeReceiveSupport() публичный статический Метод

public static CheckDualModeReceiveSupport ( Socket socket ) : void
socket Socket
Результат void

Connect() публичный статический Метод

public static Connect ( SafeCloseSocket handle, byte socketAddress, int socketAddressLen ) : SocketError
handle SafeCloseSocket
socketAddress byte
socketAddressLen int
Результат SocketError

ConnectAsync() публичный статический Метод

public static ConnectAsync ( Socket socket, SafeCloseSocket handle, byte socketAddress, int socketAddressLen, ConnectOverlappedAsyncResult asyncResult ) : SocketError
socket Socket
handle SafeCloseSocket
socketAddress byte
socketAddressLen int
asyncResult ConnectOverlappedAsyncResult
Результат SocketError

CreateSocket() публичный статический Метод

public static CreateSocket ( AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType, SafeCloseSocket &socket ) : SocketError
addressFamily AddressFamily
socketType SocketType
protocolType ProtocolType
socket SafeCloseSocket
Результат SocketError

GetAvailable() публичный статический Метод

public static GetAvailable ( SafeCloseSocket handle, int &available ) : SocketError
handle SafeCloseSocket
available int
Результат SocketError

GetIPv6MulticastOption() публичный статический Метод

public static GetIPv6MulticastOption ( SafeCloseSocket handle, SocketOptionName optionName, IPv6MulticastOption &optionValue ) : SocketError
handle SafeCloseSocket
optionName SocketOptionName
optionValue IPv6MulticastOption
Результат SocketError

GetLastSocketError() публичный статический Метод

public static GetLastSocketError ( ) : SocketError
Результат SocketError

GetLingerOption() публичный статический Метод

public static GetLingerOption ( SafeCloseSocket handle, LingerOption &optionValue ) : SocketError
handle SafeCloseSocket
optionValue LingerOption
Результат SocketError

GetMulticastOption() публичный статический Метод

public static GetMulticastOption ( SafeCloseSocket handle, SocketOptionName optionName, MulticastOption &optionValue ) : SocketError
handle SafeCloseSocket
optionName SocketOptionName
optionValue MulticastOption
Результат SocketError

GetPeerName() публичный статический Метод

public static GetPeerName ( SafeCloseSocket handle, byte buffer, int &nameLen ) : SocketError
handle SafeCloseSocket
buffer byte
nameLen int
Результат SocketError

GetSockName() публичный статический Метод

public static GetSockName ( SafeCloseSocket handle, byte buffer, int &nameLen ) : SocketError
handle SafeCloseSocket
buffer byte
nameLen int
Результат SocketError

GetSockOpt() публичный статический Метод

public static GetSockOpt ( SafeCloseSocket handle, SocketOptionLevel optionLevel, SocketOptionName optionName, byte optionValue, int &optionLength ) : SocketError
handle SafeCloseSocket
optionLevel SocketOptionLevel
optionName SocketOptionName
optionValue byte
optionLength int
Результат SocketError

GetSockOpt() публичный статический Метод

public static GetSockOpt ( SafeCloseSocket handle, SocketOptionLevel optionLevel, SocketOptionName optionName, int &optionValue ) : SocketError
handle SafeCloseSocket
optionLevel SocketOptionLevel
optionName SocketOptionName
optionValue int
Результат SocketError

GetSocketErrorForErrorCode() публичный статический Метод

public static GetSocketErrorForErrorCode ( System.Net.Interop errorCode ) : SocketError
errorCode System.Net.Interop
Результат SocketError

Initialize() публичный статический Метод

public static Initialize ( ) : void
Результат void

Listen() публичный статический Метод

public static Listen ( SafeCloseSocket handle, int backlog ) : SocketError
handle SafeCloseSocket
backlog int
Результат SocketError

Poll() публичный статический Метод

public static Poll ( SafeCloseSocket handle, int microseconds, SelectMode mode, bool &status ) : SocketError
handle SafeCloseSocket
microseconds int
mode SelectMode
status bool
Результат SocketError

Receive() публичный статический Метод

public static Receive ( SafeCloseSocket handle, IList buffers, SocketFlags &socketFlags, int &bytesTransferred ) : SocketError
handle SafeCloseSocket
buffers IList
socketFlags SocketFlags
bytesTransferred int
Результат SocketError

Receive() публичный статический Метод

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
Результат SocketError

ReceiveAsync() публичный статический Метод

public static ReceiveAsync ( SafeCloseSocket handle, IList buffers, SocketFlags socketFlags, OverlappedAsyncResult asyncResult ) : SocketError
handle SafeCloseSocket
buffers IList
socketFlags SocketFlags
asyncResult OverlappedAsyncResult
Результат SocketError

ReceiveAsync() публичный статический Метод

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
Результат SocketError

ReceiveFrom() публичный статический Метод

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
Результат SocketError

ReceiveFromAsync() публичный статический Метод

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
Результат SocketError

ReceiveMessageFrom() публичный статический Метод

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
Результат SocketError

ReceiveMessageFromAsync() публичный статический Метод

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
Результат SocketError

Select() публичный статический Метод

public static Select ( IList checkRead, IList checkWrite, IList checkError, int microseconds ) : SocketError
checkRead IList
checkWrite IList
checkError IList
microseconds int
Результат SocketError

Send() публичный статический Метод

public static Send ( SafeCloseSocket handle, IList buffers, SocketFlags socketFlags, int &bytesTransferred ) : SocketError
handle SafeCloseSocket
buffers IList
socketFlags SocketFlags
bytesTransferred int
Результат SocketError

Send() публичный статический Метод

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
Результат SocketError

SendAsync() публичный статический Метод

public static SendAsync ( SafeCloseSocket handle, IList buffers, SocketFlags socketFlags, OverlappedAsyncResult asyncResult ) : SocketError
handle SafeCloseSocket
buffers IList
socketFlags SocketFlags
asyncResult OverlappedAsyncResult
Результат SocketError

SendAsync() публичный статический Метод

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
Результат SocketError

SendTo() публичный статический Метод

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
Результат SocketError

SendToAsync() публичный статический Метод

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
Результат SocketError

SetBlocking() публичный статический Метод

public static SetBlocking ( SafeCloseSocket handle, bool shouldBlock, bool &willBlock ) : SocketError
handle SafeCloseSocket
shouldBlock bool
willBlock bool
Результат SocketError

SetIPProtectionLevel() публичный статический Метод

public static SetIPProtectionLevel ( Socket socket, SocketOptionLevel optionLevel, int protectionLevel ) : void
socket Socket
optionLevel SocketOptionLevel
protectionLevel int
Результат void

SetIPv6MulticastOption() публичный статический Метод

public static SetIPv6MulticastOption ( SafeCloseSocket handle, SocketOptionName optionName, IPv6MulticastOption optionValue ) : SocketError
handle SafeCloseSocket
optionName SocketOptionName
optionValue IPv6MulticastOption
Результат SocketError

SetLingerOption() публичный статический Метод

public static SetLingerOption ( SafeCloseSocket handle, LingerOption optionValue ) : SocketError
handle SafeCloseSocket
optionValue LingerOption
Результат SocketError

SetMulticastOption() публичный статический Метод

public static SetMulticastOption ( SafeCloseSocket handle, SocketOptionName optionName, MulticastOption optionValue ) : SocketError
handle SafeCloseSocket
optionName SocketOptionName
optionValue MulticastOption
Результат SocketError

SetReceivingDualModeIPv4PacketInformation() публичный статический Метод

public static SetReceivingDualModeIPv4PacketInformation ( Socket socket ) : void
socket Socket
Результат void

SetSockOpt() публичный статический Метод

public static SetSockOpt ( SafeCloseSocket handle, SocketOptionLevel optionLevel, SocketOptionName optionName, byte optionValue ) : SocketError
handle SafeCloseSocket
optionLevel SocketOptionLevel
optionName SocketOptionName
optionValue byte
Результат SocketError

SetSockOpt() публичный статический Метод

public static SetSockOpt ( SafeCloseSocket handle, SocketOptionLevel optionLevel, SocketOptionName optionName, int optionValue ) : SocketError
handle SafeCloseSocket
optionLevel SocketOptionLevel
optionName SocketOptionName
optionValue int
Результат SocketError

Shutdown() публичный статический Метод

public static Shutdown ( SafeCloseSocket handle, bool isConnected, bool isDisconnected, SocketShutdown how ) : SocketError
handle SafeCloseSocket
isConnected bool
isDisconnected bool
how SocketShutdown
Результат SocketError

TryCompleteAccept() публичный статический Метод

public static TryCompleteAccept ( SafeCloseSocket socket, byte socketAddress, int &socketAddressLen, IntPtr &acceptedFd, SocketError &errorCode ) : bool
socket SafeCloseSocket
socketAddress byte
socketAddressLen int
acceptedFd IntPtr
errorCode SocketError
Результат bool

TryCompleteConnect() публичный статический Метод

public static TryCompleteConnect ( SafeCloseSocket socket, int socketAddressLen, SocketError &errorCode ) : bool
socket SafeCloseSocket
socketAddressLen int
errorCode SocketError
Результат bool

TryCompleteReceiveFrom() публичный статический Метод

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
Результат bool

TryCompleteReceiveFrom() публичный статический Метод

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
Результат bool

TryCompleteReceiveFrom() публичный статический Метод

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
Результат bool

TryCompleteReceiveMessageFrom() публичный статический Метод

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
Результат bool

TryCompleteSendTo() публичный статический Метод

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
Результат bool

TryCompleteSendTo() публичный статический Метод

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
Результат bool

TryCompleteSendTo() публичный статический Метод

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
Результат bool

TryStartConnect() публичный статический Метод

public static TryStartConnect ( SafeCloseSocket socket, byte socketAddress, int socketAddressLen, SocketError &errorCode ) : bool
socket SafeCloseSocket
socketAddress byte
socketAddressLen int
errorCode SocketError
Результат bool

WindowsIoctl() публичный статический Метод

public static WindowsIoctl ( SafeCloseSocket handle, int ioControlCode, byte optionInValue, byte optionOutValue, int &optionLength ) : SocketError
handle SafeCloseSocket
ioControlCode int
optionInValue byte
optionOutValue byte
optionLength int
Результат SocketError