public Server() => _socketListener = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
Exemple #2
0
 (IPAddress.Parse(IPString), HashCode, new IPEndPoint(_IPaddress, Port), new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp));
Exemple #3
0
 public SocketAdmin() => _tcpSocket = new Socket(AddressFamily.InterNetwork,
                                                 SocketType.Stream, ProtocolType.Tcp);
Exemple #4
0
 => Socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)
Exemple #5
0
 /// <summary>
 /// Creates a new instance of Acceptor
 /// </summary>
 public Acceptor() => _listener = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
Exemple #6
0
 /// <summary>
 /// Creates a new instance of Monitor
 /// </summary>
 public Monitor() => Socket = new Socket(AddressFamily.InterNetwork, SocketType.Raw, ProtocolType.IP);
Exemple #7
0
 /// <summary>
 /// Creates a new instance of Acceptor
 /// </summary>
 public Connector() => _socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
Exemple #8
0
 listen = new Socket(AddressFamily.InterNetwork, SocketType.Stream,