Beispiel #1
0
 /// <summary>
 ///     Initialize WebSocket client with a given IP endpoint
 /// </summary>
 /// <param name="endpoint">IP endpoint</param>
 public WebSocketNetworkClient(IPEndPoint endpoint)
     : base(endpoint)
 {
     webSocketNetwork = new WebSocketNetwork(this);
 }
Beispiel #2
0
 /// <summary>
 ///     Initialize WebSocket client with a given IP address and port number
 /// </summary>
 /// <param name="address">IP address</param>
 /// <param name="port">Port number</param>
 public WebSocketNetworkClient(String address, Int32 port)
     : base(address, port)
 {
     webSocketNetwork = new WebSocketNetwork(this);
 }
Beispiel #3
0
 /// <summary>
 ///     Initialize WebSocket server with a given IP address and port number
 /// </summary>
 /// <param name="address">IP address</param>
 /// <param name="port">Port number</param>
 public WebSocketNetworkServer(IPAddress address, Int32 port)
     : base(address, port)
 {
     webSocketNetwork = new WebSocketNetwork(this);
 }
Beispiel #4
0
 /// <summary>
 ///     Initialize WebSocket server with a given IP endpoint
 /// </summary>
 /// <param name="endpoint">IP endpoint</param>
 public WebSocketNetworkServer(IPEndPoint endpoint)
     : base(endpoint)
 {
     webSocketNetwork = new WebSocketNetwork(this);
 }
 public WebSocketNetworkSession(WebSocketNetworkServer server)
     : base(server)
 {
     webSocketNetwork = new WebSocketNetwork(this);
 }