private void ExtraData(LJHSocket socket, YiTingBuffer buffer) { try { YiTingPacket packet = buffer.Read(); while (packet != null) { HandlePacket(socket, packet); packet = buffer.Read(); } } catch (Exception ex) { Ralid.GeneralLibrary.ExceptionHandling.ExceptionPolicy.HandleException(ex); } }