Méthode | Description | |
---|---|---|
Accept ( SafeCloseSocket handle, byte buffer, int &nameLen, SafeCloseSocket &socket ) : SocketError | ||
AcceptAsync ( Socket socket, SafeCloseSocket handle, SafeCloseSocket acceptHandle, int receiveSize, int socketAddressSize, |
||
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, |
||
CreateSocket ( AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType, SafeCloseSocket &socket ) : SocketError | ||
GetAvailable ( SafeCloseSocket handle, int &available ) : SocketError | ||
GetIPv6MulticastOption ( SafeCloseSocket handle, SocketOptionName optionName, |
||
GetLastSocketError ( ) : SocketError | ||
GetLingerOption ( SafeCloseSocket handle, |
||
GetMulticastOption ( SafeCloseSocket handle, SocketOptionName optionName, |
||
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 |
||
Receive ( SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, int &bytesTransferred ) : SocketError | ||
ReceiveAsync ( SafeCloseSocket handle, IList |
||
ReceiveAsync ( SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, |
||
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, |
||
ReceiveMessageFrom ( Socket socket, SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags &socketFlags, Internals socketAddress, Internals &receiveAddress, |
||
ReceiveMessageFromAsync ( Socket socket, SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, Internals socketAddress, |
||
Select ( IList checkRead, IList checkWrite, IList checkError, int microseconds ) : SocketError | ||
Send ( SafeCloseSocket handle, IList |
||
Send ( SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, int &bytesTransferred ) : SocketError | ||
SendAsync ( SafeCloseSocket handle, IList |
||
SendAsync ( SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, |
||
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, |
||
SetBlocking ( SafeCloseSocket handle, bool shouldBlock, bool &willBlock ) : SocketError | ||
SetIPProtectionLevel ( Socket socket, SocketOptionLevel optionLevel, int protectionLevel ) : void | ||
SetIPv6MulticastOption ( SafeCloseSocket handle, SocketOptionName optionName, |
||
SetLingerOption ( SafeCloseSocket handle, |
||
SetMulticastOption ( SafeCloseSocket handle, SocketOptionName optionName, |
||
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 |
||
TryCompleteReceiveFrom ( SafeCloseSocket socket, byte buffer, IList |
||
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, |
||
TryCompleteSendTo ( SafeCloseSocket socket, IList |
||
TryCompleteSendTo ( SafeCloseSocket socket, byte buffer, IList |
||
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 |
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, |
||
FilterPollList ( IList socketList, System.Net.Interop arr, int arrEndOffset, System.Net.Interop desiredEvents ) : void | ||
GetIPPacketInformation ( System.Net.Interop messageHeader, bool isIPv4, bool isIPv6 ) : |
||
GetPlatformSupportsDualModeIPv4PacketInfo ( ) : bool | ||
MicrosecondsToTimeValue ( long microseconds, System.Net.Interop &socketTime ) : void | ||
Receive ( SafeCloseSocket socket, SocketFlags flags, IList |
||
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, |
||
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 |
||
Send ( SafeCloseSocket socket, SocketFlags flags, byte buffer, int &offset, int &count, byte socketAddress, int socketAddressLen, System.Net.Interop &errno ) : int |
public static Accept ( SafeCloseSocket handle, byte buffer, int &nameLen, SafeCloseSocket &socket ) : SocketError | ||
handle | SafeCloseSocket | |
buffer | byte | |
nameLen | int | |
socket | SafeCloseSocket | |
Résultat | SocketError |
public static AcceptAsync ( Socket socket, SafeCloseSocket handle, SafeCloseSocket acceptHandle, int receiveSize, int socketAddressSize, |
||
socket | Socket | |
handle | SafeCloseSocket | |
acceptHandle | SafeCloseSocket | |
receiveSize | int | |
socketAddressSize | int | |
asyncResult | ||
Résultat | SocketError |
public static Bind ( SafeCloseSocket handle, byte buffer, int nameLen ) : SocketError | ||
handle | SafeCloseSocket | |
buffer | byte | |
nameLen | int | |
Résultat | SocketError |
public static CheckDualModeReceiveSupport ( Socket socket ) : void | ||
socket | Socket | |
Résultat | void |
public static Connect ( SafeCloseSocket handle, byte socketAddress, int socketAddressLen ) : SocketError | ||
handle | SafeCloseSocket | |
socketAddress | byte | |
socketAddressLen | int | |
Résultat | SocketError |
public static ConnectAsync ( Socket socket, SafeCloseSocket handle, byte socketAddress, int socketAddressLen, |
||
socket | Socket | |
handle | SafeCloseSocket | |
socketAddress | byte | |
socketAddressLen | int | |
asyncResult | ||
Résultat | SocketError |
public static CreateSocket ( AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType, SafeCloseSocket &socket ) : SocketError | ||
addressFamily | AddressFamily | |
socketType | SocketType | |
protocolType | ProtocolType | |
socket | SafeCloseSocket | |
Résultat | SocketError |
public static GetAvailable ( SafeCloseSocket handle, int &available ) : SocketError | ||
handle | SafeCloseSocket | |
available | int | |
Résultat | SocketError |
public static GetIPv6MulticastOption ( SafeCloseSocket handle, SocketOptionName optionName, |
||
handle | SafeCloseSocket | |
optionName | SocketOptionName | |
optionValue | ||
Résultat | SocketError |
public static GetLastSocketError ( ) : SocketError | ||
Résultat | SocketError |
public static GetLingerOption ( SafeCloseSocket handle, |
||
handle | SafeCloseSocket | |
optionValue | ||
Résultat | SocketError |
public static GetMulticastOption ( SafeCloseSocket handle, SocketOptionName optionName, |
||
handle | SafeCloseSocket | |
optionName | SocketOptionName | |
optionValue | ||
Résultat | SocketError |
public static GetPeerName ( SafeCloseSocket handle, byte buffer, int &nameLen ) : SocketError | ||
handle | SafeCloseSocket | |
buffer | byte | |
nameLen | int | |
Résultat | SocketError |
public static GetSockName ( SafeCloseSocket handle, byte buffer, int &nameLen ) : SocketError | ||
handle | SafeCloseSocket | |
buffer | byte | |
nameLen | int | |
Résultat | SocketError |
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 |
public static GetSockOpt ( SafeCloseSocket handle, SocketOptionLevel optionLevel, SocketOptionName optionName, int &optionValue ) : SocketError | ||
handle | SafeCloseSocket | |
optionLevel | SocketOptionLevel | |
optionName | SocketOptionName | |
optionValue | int | |
Résultat | SocketError |
public static GetSocketErrorForErrorCode ( System.Net.Interop errorCode ) : SocketError | ||
errorCode | System.Net.Interop | |
Résultat | SocketError |
public static Listen ( SafeCloseSocket handle, int backlog ) : SocketError | ||
handle | SafeCloseSocket | |
backlog | int | |
Résultat | SocketError |
public static Poll ( SafeCloseSocket handle, int microseconds, SelectMode mode, bool &status ) : SocketError | ||
handle | SafeCloseSocket | |
microseconds | int | |
mode | SelectMode | |
status | bool | |
Résultat | SocketError |
public static Receive ( SafeCloseSocket handle, IList |
||
handle | SafeCloseSocket | |
buffers | IList |
|
socketFlags | SocketFlags | |
bytesTransferred | int | |
Résultat | SocketError |
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 |
public static ReceiveAsync ( SafeCloseSocket handle, IList |
||
handle | SafeCloseSocket | |
buffers | IList |
|
socketFlags | SocketFlags | |
asyncResult | ||
Résultat | SocketError |
public static ReceiveAsync ( SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, |
||
handle | SafeCloseSocket | |
buffer | byte | |
offset | int | |
count | int | |
socketFlags | SocketFlags | |
asyncResult | ||
Résultat | SocketError |
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 |
public static ReceiveFromAsync ( SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, Internals socketAddress, |
||
handle | SafeCloseSocket | |
buffer | byte | |
offset | int | |
count | int | |
socketFlags | SocketFlags | |
socketAddress | Internals | |
asyncResult | ||
Résultat | SocketError |
public static ReceiveMessageFrom ( Socket socket, SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags &socketFlags, Internals socketAddress, Internals &receiveAddress, |
||
socket | Socket | |
handle | SafeCloseSocket | |
buffer | byte | |
offset | int | |
count | int | |
socketFlags | SocketFlags | |
socketAddress | Internals | |
receiveAddress | Internals | |
ipPacketInformation | ||
bytesTransferred | int | |
Résultat | SocketError |
public static ReceiveMessageFromAsync ( Socket socket, SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, Internals socketAddress, |
||
socket | Socket | |
handle | SafeCloseSocket | |
buffer | byte | |
offset | int | |
count | int | |
socketFlags | SocketFlags | |
socketAddress | Internals | |
asyncResult | ||
Résultat | SocketError |
public static Select ( IList checkRead, IList checkWrite, IList checkError, int microseconds ) : SocketError | ||
checkRead | IList | |
checkWrite | IList | |
checkError | IList | |
microseconds | int | |
Résultat | SocketError |
public static Send ( SafeCloseSocket handle, IList |
||
handle | SafeCloseSocket | |
buffers | IList |
|
socketFlags | SocketFlags | |
bytesTransferred | int | |
Résultat | SocketError |
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 |
public static SendAsync ( SafeCloseSocket handle, IList |
||
handle | SafeCloseSocket | |
buffers | IList |
|
socketFlags | SocketFlags | |
asyncResult | ||
Résultat | SocketError |
public static SendAsync ( SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, |
||
handle | SafeCloseSocket | |
buffer | byte | |
offset | int | |
count | int | |
socketFlags | SocketFlags | |
asyncResult | ||
Résultat | SocketError |
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 |
public static SendToAsync ( SafeCloseSocket handle, byte buffer, int offset, int count, SocketFlags socketFlags, Internals socketAddress, |
||
handle | SafeCloseSocket | |
buffer | byte | |
offset | int | |
count | int | |
socketFlags | SocketFlags | |
socketAddress | Internals | |
asyncResult | ||
Résultat | SocketError |
public static SetBlocking ( SafeCloseSocket handle, bool shouldBlock, bool &willBlock ) : SocketError | ||
handle | SafeCloseSocket | |
shouldBlock | bool | |
willBlock | bool | |
Résultat | SocketError |
public static SetIPProtectionLevel ( Socket socket, SocketOptionLevel optionLevel, int protectionLevel ) : void | ||
socket | Socket | |
optionLevel | SocketOptionLevel | |
protectionLevel | int | |
Résultat | void |
public static SetIPv6MulticastOption ( SafeCloseSocket handle, SocketOptionName optionName, |
||
handle | SafeCloseSocket | |
optionName | SocketOptionName | |
optionValue | ||
Résultat | SocketError |
public static SetLingerOption ( SafeCloseSocket handle, |
||
handle | SafeCloseSocket | |
optionValue | ||
Résultat | SocketError |
public static SetMulticastOption ( SafeCloseSocket handle, SocketOptionName optionName, |
||
handle | SafeCloseSocket | |
optionName | SocketOptionName | |
optionValue | ||
Résultat | SocketError |
public static SetReceivingDualModeIPv4PacketInformation ( Socket socket ) : void | ||
socket | Socket | |
Résultat | void |
public static SetSockOpt ( SafeCloseSocket handle, SocketOptionLevel optionLevel, SocketOptionName optionName, byte optionValue ) : SocketError | ||
handle | SafeCloseSocket | |
optionLevel | SocketOptionLevel | |
optionName | SocketOptionName | |
optionValue | byte | |
Résultat | SocketError |
public static SetSockOpt ( SafeCloseSocket handle, SocketOptionLevel optionLevel, SocketOptionName optionName, int optionValue ) : SocketError | ||
handle | SafeCloseSocket | |
optionLevel | SocketOptionLevel | |
optionName | SocketOptionName | |
optionValue | int | |
Résultat | SocketError |
public static Shutdown ( SafeCloseSocket handle, bool isConnected, bool isDisconnected, SocketShutdown how ) : SocketError | ||
handle | SafeCloseSocket | |
isConnected | bool | |
isDisconnected | bool | |
how | SocketShutdown | |
Résultat | SocketError |
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 |
public static TryCompleteConnect ( SafeCloseSocket socket, int socketAddressLen, SocketError &errorCode ) : bool | ||
socket | SafeCloseSocket | |
socketAddressLen | int | |
errorCode | SocketError | |
Résultat | bool |
public static TryCompleteReceiveFrom ( SafeCloseSocket socket, IList |
||
socket | SafeCloseSocket | |
buffers | IList |
|
flags | SocketFlags | |
socketAddress | byte | |
socketAddressLen | int | |
bytesReceived | int | |
receivedFlags | SocketFlags | |
errorCode | SocketError | |
Résultat | bool |
public static TryCompleteReceiveFrom ( SafeCloseSocket socket, byte buffer, IList |
||
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 |
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 |
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, |
||
socket | SafeCloseSocket | |
buffer | byte | |
offset | int | |
count | int | |
flags | SocketFlags | |
socketAddress | byte | |
socketAddressLen | int | |
isIPv4 | bool | |
isIPv6 | bool | |
bytesReceived | int | |
receivedFlags | SocketFlags | |
ipPacketInformation | ||
errorCode | SocketError | |
Résultat | bool |
public static TryCompleteSendTo ( SafeCloseSocket socket, IList |
||
socket | SafeCloseSocket | |
buffers | IList |
|
bufferIndex | int | |
offset | int | |
flags | SocketFlags | |
socketAddress | byte | |
socketAddressLen | int | |
bytesSent | int | |
errorCode | SocketError | |
Résultat | bool |
public static TryCompleteSendTo ( SafeCloseSocket socket, byte buffer, IList |
||
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 |
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 |
public static TryStartConnect ( SafeCloseSocket socket, byte socketAddress, int socketAddressLen, SocketError &errorCode ) : bool | ||
socket | SafeCloseSocket | |
socketAddress | byte | |
socketAddressLen | int | |
errorCode | SocketError | |
Résultat | bool |
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 |