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