O'Reilly logo

DarkBASIC Pro Game Programming, Second Edition by Joshua R. Smith, Jonathan S. Harbour

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Additional Multiplayer Commands

There are a few more multiplayer commands to cover. These commands give you a little extra data and control over what is occurring. You don’t need to use all of the commands to play a multiplayer game, but they do provide you with extra information.

Buffer Size

The NET BUFFER SIZE() command returns how many messages are waiting to be received. This is the virtual pile of notes on your desk. If you don’t want to process messages every time, you can use this command to determine how many are waiting before you do process them. However, there is a limit to the number of packets that can be waiting. If you go over that limit, you will start losing them.

Net Game Commands

The FREE NET GAME command frees the current ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required