Jump to content
  • Advertisement
Sign in to follow this  
JL4453

File transmission over network

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

Hi, I am working on an RTS game and want players to be able to send maps/scenarios to players who don't have them before a game starts. I've been able to find sufficient info about basic TCP/IP network programming, but I would like to know if for (relatively) large file transmission I need to manually throttle the rate at which packets are sent out to conform to some sort of maximum bandwidth requirement, or if somehow this is done automatically as I send packets out as fast as I can generate them? How does bulk data transmission over a network generally work? Thanks in advance for any advice someone might be able to offer.

Share this post


Link to post
Share on other sites
Advertisement
TCP automatically adjusts to available bandwidth. It will, in general, achieve pretty close to theoretical maximum, as long as the link doesn't suffer terrible packet loss.

Btw: I highly recommend using HTTP and a web server for serving large files. It's what they're for...

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!