Advertisement

DirectPlay Packet clog

Started by September 18, 2006 04:47 PM
0 comments, last by hplus0603 18 years, 5 months ago
Hello all, My first post to gamedev.net. I've been told you're a good group--hope so, cuz this first question is a doozy. I have a problem with packet clog, and I need to know if there's a way to clear the packets out. A brief background: LAN game (closed LAN--no Internet), an attraction at a theme park. 12 kids play at once, and at one stage of the game all 12 are sending packets like mad. Each joystick action sends a packet, including a repeat-rate stream. Here's the really ugly part. We're using DirectPlay 4 (hey, I inherited the engine--not my choice ^_^) We're using MSVC on Windows XP Pro. I'm seeing controls slow to respond, and pieces still moving after the game is finished and the joysticks are quiet. Is there any way to clear the packets off the LAN, both while and after game play? Thanks for any help. Cordially, Kerry Thompson
The packets are not in the LAN for more than a millisecond. The "clog" is in queuing, either on the sending, or the receiving side.

I imagine that shutting down the connection object and re-creating it will clean it out.
enum Bool { True, False, FileNotFound };

This topic is closed to new replies.

Advertisement