public string Marshal(IPacket packet)
 {
     return(String.Format("{0},{1}",
                          Convert.ToString((int)packet.GetPacketId()),
                          packet.Marshal()));
 }