Example #1
0
 public ClientSocket(ClientSocketSettings clientSettings)
 {
     _waitHandle = new[] { new AutoResetEvent(false) };
     this.clientSettings = clientSettings;
     this.prefixHandler = new PrefixHandler();
     this.messageHandler = new MessageHandler();
 }
Example #2
0
 public ClientSocket(ClientSocketSettings clientSettings)
 {
     _waitHandle         = new[] { new AutoResetEvent(false) };
     this.clientSettings = clientSettings;
     this.prefixHandler  = new PrefixHandler();
     this.messageHandler = new MessageHandler();
 }