/// <summary> /// open proxy /// </summary> /// <param name="port">webSocket port</param> /// <param name="portName">ipv6 gateway port</param> public void StartServer(int port,string portName) { coapWebSocektService = new WebSocketService(port); coapPortName = portName; this.listener.Start(); this.coapWebSocektService.StartSuperWebSocketByProgramming(); }
/// <summary> /// open proxy /// </summary> /// <param name="port">webSocket port</param> /// <param name="portName">ipv6 gateway port</param> public void StartServer(int port, string portName) { coapWebSocektService = new WebSocketService(port); coapPortName = portName; this.listener.Start(); this.coapWebSocektService.StartSuperWebSocketByProgramming(); }
public ClientConnection(Socket client, WebSocketService wss, string port) { this.clientSocket = client; coapWebSocektService = wss; portName = port; }
public ClientConnection(Socket client,WebSocketService wss,string port) { this.clientSocket = client; coapWebSocektService = wss; portName = port; }