Advertisement

What if I return something else then DPN_OK from the message callback of DirectPlay?

Started by June 11, 2004 08:29 AM
9 comments, last by cbenoi1 20 years, 8 months ago
GetSPCaps() will retrieve the current Service Provider capabilities. Modify the DPN_SP_CAPS::dwSystemBufferSize and DPN_SP_CAPS::dwBuffersPerThread member variables before setting back the capabilities with SetSPCaps().

Keep those values under reasonable limits, otherwise this will force the Service Provider to lock down large chunks of pageable memory into RAM for a long time, thus limiting the amount of RAM reserved for other OS and application functions.

> should I use some compression to reduce the network traffic?

Yes, whenever possible.

-cb

This topic is closed to new replies.

Advertisement