Group communication in XNA

The XNA framework includes a helper class called PacketWriter. PacketWriter provides common functionality for efficiently formatting outgoing network packets. Using this class is useful when the messages are sent only to one or all the peers. Since most of the packets my host will be sending are for a group of peers, just a few of the participating players, I’ll need to make my own helper class so I can choose when I want the packet to be reset, after sending it out to the desired clients.

I’ve done the custom packet writer class and will now make the migration and test of this new class.

Leave a Reply

Your email address will not be published. Required fields are marked *