Ejemplo n.º 1
0
 public Client(SocketConfig config = null)
 {
     if (config == null)
     {
         this.config = new SocketConfig();
     }
     else
     {
         this.config = config;
     }
 }
Ejemplo n.º 2
0
 public Server(SocketConfig config = null)
 {
     if (config == null)
     {
         this.config = new SocketConfig();
     }
     else
     {
         this.config = config;
     }
     this.socketPool = new Dictionary <string, SocketConnectInstance>();
 }