Example #1
0
 /// <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();
 }
Example #2
0
 /// <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();
 }
Example #3
0
 public ClientConnection(Socket client, WebSocketService wss, string port)
 {
     this.clientSocket    = client;
     coapWebSocektService = wss;
     portName             = port;
 }
Example #4
0
 public ClientConnection(Socket client,WebSocketService wss,string port)
 {
     this.clientSocket = client;
     coapWebSocektService = wss;
     portName = port;
 }