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))); }
public unsafe static SafeCloseSocket CreateSocket(int fileDescriptor) { return(CreateSocket(InnerSafeCloseSocket.CreateSocket(fileDescriptor))); }
public static unsafe SafeCloseSocket CreateSocket(IntPtr fileDescriptor) { return(CreateSocket(InnerSafeCloseSocket.CreateSocket(fileDescriptor))); }
public unsafe static SafeCloseSocket CreateSocket(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType) { return(CreateSocket(InnerSafeCloseSocket.CreateSocket(addressFamily, socketType, protocolType))); }