Jump to content

Send Packet Back


Recommended Posts

Hello,

How to send packet back when get it?

int __fastcall new_AddNetworkQueue(unsigned int This, unsigned int EDX, TNetworkPacket *NetworkPacket)
{
	if (NetworkPacket->subid == 0xFFFF)
	{
		switch (NetworkPacket->id)
		{
			case 0x2E:
				decodeKey(NetworkPacket->data + 1);
				break;
				case 0x74:
                                // reply ?
				Logger("Get from server.");
				break;
			default:
				Logger("Get from server other");
				break;
		}
	}

	return true_AddNetworkQueue(This, EDX, NetworkPacket);
}

Packet i get from server, now i want reply to server, how to do it?

i want reply to 0x74 packet.

If need more code tell me :)

Thanks for help.

Edited by wongerlt
Link to comment
Share on other sites

Pm me your skype, i feel like helping someone today.

 

Edit: i dont want to spoonfeed

 

Edit2: look what I just found on gógl... http://ideone.com/U60Uc5 xDD

Edited by Szakalaka
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...