Exemple #1
0
        void sendALMessage(List <int> ackList)
        {
            int            currentTimeId = conn.receiver.getCurrentTimeId();
            AckListMessage alm           = new AckListMessage(conn.connetionId, ackList, conn.receiver.lastRead, conn
                                                              .clientControl.sendRecordTable_remote, currentTimeId,
                                                              conn.connectId, conn.route.localclientId);

            alm.setDstAddress(dstIp);
            alm.setDstPort(dstPort);
            try
            {
                send(alm.getDatagramPacket());
            }
            catch (Exception e)
            {
                MLog.info(e.Message);
            }
        }