[gameprogrammer] Re: TCP output buffer size

  • From: Chris Nystrom <cnystrom@xxxxxxxxx>
  • To: gameprogrammer@xxxxxxxxxxxxx
  • Date: Sat, 7 Mar 2009 20:18:08 -0600

On Sat, Mar 7, 2009 at 7:19 PM, Kevin Jenkins <gameprogrammer@xxxxxxxxxx> wrote:
>
> I want to send a very large file by TCP. If I send the whole file at once...

Why send the whole file at once? Why not send the file in 1K blocks or
something? Your  internal looping is going to be faster than your
network i/o.

Chris

-- 
E-Mail: Chris Nystrom <cnystrom@xxxxxxxxx>
Saving the world from web programming.
http://www.newio.org - G-Talk: cnystrom

---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: