public Client(Socket socket, int id)
        {
            dataBuffer = new byte[1024];
            Socket = socket;
            packetHandler = new PacketHandler();
            packetHandler.CompletePacketReceived += new PacketHandler.CompletePacketReceivedEventHandler(packetHandler_CompletePacketReceived);

            clientInfo = new ClientInfo();
            clientInfo.ID = id;

            // Let the worker Socket do the further processing for the
            // just connected client
            WaitForData();
        }
 public Client()
 {
     packetHandler = new PacketHandler();
     packetHandler.CompletePacketReceived += new PacketHandler.CompletePacketReceivedEventHandler(packetHandler_CompletePacketReceived);
 }