public void Start(TcpClient client)
 {
     var streamspindle = new StreamSpindle(client.GetStream(), client.ReceiveBufferSize);
     this.Start(streamspindle);
 }
 public void Start(StreamSpindle spindle)
 {
     spindle.OnBytesRead += new self_server.OnBytesRead(streamspindle_OnBytesRead);
     spindle.OnException += this.OnException;
     spindle.BeginReadLoop(sizeof(int), ReadType.Header);
     this.stream = spindle;
 }