Lines Matching defs:packet
272 CFormat(wxT("Client '%s' (%s) caused error while creating packet (%s) - disconnecting client"))
322 CPacket* packet = new CPacket(data, (bLargeBlocks ? OP_EMULEPROT : OP_EDONKEYPROT), (bLargeBlocks ? (uint8)OP_SENDINGPART_I64 : (uint8)OP_SENDINGPART));
328 m_socket->SendPacket(packet,true,false, nPacketSize);
375 CPacket* packet = new CPacket(data, OP_EMULEPROT, (isLargeBlock ? OP_COMPRESSEDPART_I64 : OP_COMPRESSEDPART));
386 // put packet directly on socket
392 m_socket->SendPacket(packet,true,false, payloadSize);
409 // Wrong again. Advertised >0 but send a 0-type packet.
411 throw CInvalidPacket(wxT("Wrong size on extended info packet"));
709 CPacket* packet = new CPacket(data, OP_EDONKEYPROT, OP_HASHSETANSWER);
710 theStats::AddUpOverheadFileRequest(packet->GetPacketSize());
712 SendPacket(packet,true,true);
738 CPacket* packet = new CPacket(data, OP_EMULEPROT, OP_QUEUERANKING);
739 theStats::AddUpOverheadOther(packet->GetPacketSize());
741 SendPacket(packet,true,true);
764 CPacket* packet = new CPacket(data, OP_EMULEPROT, OP_FILEDESC);
765 theStats::AddUpOverheadOther(packet->GetPacketSize());
767 SendPacket(packet,true);