Exemplo n.º 1
0
void EQStream::SendAck(uint16 seq)
{
uint16 Seq=htons(seq);
	_log(NET__NET_ACKS, _L "Sending ack with sequence %d" __L, seq);
	SetLastAckSent(seq);
	NonSequencedPush(new EQProtocolPacket(OP_Ack,(unsigned char *)&Seq,sizeof(uint16)));
}
Exemplo n.º 2
0
void EQStream::SendAck(uint16 seq)
{
uint16 Seq=htons(seq);
	Log.Out(Logs::Detail, Logs::Netcode, _L "Sending ack with sequence %d" __L, seq);
	SetLastAckSent(seq);
	NonSequencedPush(new EQProtocolPacket(OP_Ack,(unsigned char *)&Seq,sizeof(uint16)));
}