Sign in to follow this  
JL4453

File transmission over network

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this