C++ Minecraft Packet
#2
When sending data over the network, everything is serialized, that means that structures and what not are converted into a single stream of data.
When you want to send the packet data, you simply send it after you sent the packet id.

I'm not sure how to explain this.. I guess you should maybe look at how MCServer does it?
Reply
Thanks given by:


Messages In This Thread
C++ Minecraft Packet - by Chlorek - 02-24-2012, 03:28 AM
RE: C++ Minecraft Packet - by FakeTruth - 02-24-2012, 03:44 AM
RE: C++ Minecraft Packet - by Chlorek - 02-24-2012, 04:01 AM
RE: C++ Minecraft Packet - by FakeTruth - 02-24-2012, 04:43 AM
RE: C++ Minecraft Packet - by Chlorek - 02-24-2012, 05:31 AM
RE: C++ Minecraft Packet - by FakeTruth - 02-24-2012, 06:05 AM
RE: C++ Minecraft Packet - by Chlorek - 02-24-2012, 06:13 AM
RE: C++ Minecraft Packet - by Chlorek - 02-25-2012, 02:50 AM



Users browsing this thread: 1 Guest(s)