Jump to content
  • Advertisement
Sign in to follow this  
Music Man

DirectPlay Packet clog

This topic is 4265 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!