internal static unsafe SocketError CreateSocket(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType, out SafeSocketHandle socket)
        {
            SocketError errorCode;

            socket = CreateSocket(InnerSafeCloseSocket.CreateSocket(addressFamily, socketType, protocolType, out errorCode));
            return(errorCode);
        }
 internal static unsafe SafeSocketHandle CreateSocket(IntPtr fileDescriptor)
 {
     return(CreateSocket(InnerSafeCloseSocket.CreateSocket(fileDescriptor)));
 }
예제 #3
0
 public unsafe static SafeCloseSocket CreateSocket(int fileDescriptor)
 {
     return(CreateSocket(InnerSafeCloseSocket.CreateSocket(fileDescriptor)));
 }
예제 #4
0
 public static unsafe SafeCloseSocket CreateSocket(IntPtr fileDescriptor)
 {
     return(CreateSocket(InnerSafeCloseSocket.CreateSocket(fileDescriptor)));
 }
예제 #5
0
 public unsafe static SafeCloseSocket CreateSocket(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType)
 {
     return(CreateSocket(InnerSafeCloseSocket.CreateSocket(addressFamily, socketType, protocolType)));
 }