private void onConnect(object sender, OnConnectEventArgs e) { if (!server.Clients[e.ClientID].Reading) { server.BeginRead(onRead, e.ClientID); } }