Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Roman Gorkiewicz

How do I send types instead of strings with WinSock (VB)?

This topic is 6985 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

Advertisement
In a real-time game, you don''t want the guaranteed message delivery of TCP. I mean, it''s not good to loose a bunch of packets, but if a packet does wander astray in transit, you certainly don’t want to spend time trying to recover that data because by the time you finally receive it you could end up with a player’s location from a few moves/seconds ago. Then what are you going to do with that data?

It’s best just to move on and hopefully get the next packet and then just speculate the path say from move 1 to move 3. This is only for real-time of course not including chat programs. In turn-based games it’s more crucial to receive every packet.

Share this post


Link to post
Share on other sites
Thank god for DirectPlay.

Some "fun" TCP/IP reading: http://www.microsoft.com/technet/deploy/tcpintro1.asp

============================
Daniel Netz, Sentinel Design
"I'm not stupid, I'm from Sweden" - Unknown

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!