C# Class System.Net.Sockets.SafeCloseSocket.InnerSafeCloseSocket

Inheritance: Microsoft.Win32.SafeHandles.SafeHandleMinusOneIsInvalid
ファイルを表示 Open project: dotnet/corefx

Public Methods

Method Description
Accept ( SafeCloseSocket socketHandle, byte socketAddress, int &socketAddressLen, SocketError &errorCode ) : InnerSafeCloseSocket
AddRef ( ) : void
CreateSocket ( AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType, SocketError &errorCode ) : InnerSafeCloseSocket
CreateSocket ( IntPtr fileDescriptor ) : InnerSafeCloseSocket
LogRemainingOperations ( ) : void
Release ( ) : void

Protected Methods

Method Description
ReleaseHandle ( ) : bool

Private Methods

Method Description
Accept ( SafeCloseSocket socketHandle, byte socketAddress, int &socketAddressSize ) : InnerSafeCloseSocket
BlockingRelease ( ) : void
CreateWSASocket ( AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType ) : InnerSafeCloseSocket
CreateWSASocket ( byte pinnedBuffer ) : InnerSafeCloseSocket
InnerReleaseHandle ( ) : SocketError
InnerSafeCloseSocket ( ) : Microsoft.Win32.SafeHandles

Method Details

Accept() public static method

public static Accept ( SafeCloseSocket socketHandle, byte socketAddress, int &socketAddressLen, SocketError &errorCode ) : InnerSafeCloseSocket
socketHandle SafeCloseSocket
socketAddress byte
socketAddressLen int
errorCode SocketError
return InnerSafeCloseSocket

AddRef() public method

public AddRef ( ) : void
return void

CreateSocket() public static method

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

CreateSocket() public static method

public static CreateSocket ( IntPtr fileDescriptor ) : InnerSafeCloseSocket
fileDescriptor IntPtr
return InnerSafeCloseSocket

LogRemainingOperations() public method

public LogRemainingOperations ( ) : void
return void

Release() public method

public Release ( ) : void
return void

ReleaseHandle() protected method

protected ReleaseHandle ( ) : bool
return bool