Game Development Reference
In-Depth Information
Later on we can read and write vectors directly using the following interface:
Sending and receiving a packet is similar to sending and receiving a byte array, we use the
*::send() and *::receive() methods of the sockets. We start with the TCP client-
side:
On the receiving side, the code looks like this:
Search WWH ::




Custom Search