On 15/09/06, Grant Edwards <[EMAIL PROTECTED]> wrote:
> On 2006-09-15, Steve Holden <[EMAIL PROTECTED]> wrote:
> >
> > Of course this depends crucially on the window size. Since the
> > addition of the window scaling TCP option it's been possible
> > to specify very large windows, which are useful
On 2006-09-15, Steve Holden <[EMAIL PROTECTED]> wrote:
>>>The sender will send at whatever rate they are capable of, so
>>>packets may just become backlogged on your receiving socket
>>
>>
>> When that happens, the sending end of the socket will throttle
>> down to match the rate at which data i
Grant Edwards wrote:
> On 2006-09-15, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
>
>>On 14 Sep 2006 04:54:48 -0700, "billie" <[EMAIL PROTECTED]> declaimed the
>>following in comp.lang.python:
>>
>>
>>>Hi all. I'm writing a TCP-based application that I will use to trasfer
>>>binary files through
On 2006-09-15, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
> On 14 Sep 2006 04:54:48 -0700, "billie" <[EMAIL PROTECTED]> declaimed the
> following in comp.lang.python:
>
>> Hi all. I'm writing a TCP-based application that I will use to trasfer
>> binary files through the network. This piece of cod
On 14/09/06, Diez B. Roggisch <[EMAIL PROTECTED]> wrote:
> billie schrieb:
> > Hi all. I'm writing a TCP-based application that I will use to trasfer
> > binary files through the network. This piece of code represents how do
> > I get a file from a remote peer and save it on my local hard drive:
>
billie schrieb:
> Hi all. I'm writing a TCP-based application that I will use to trasfer
> binary files through the network. This piece of code represents how do
> I get a file from a remote peer and save it on my local hard drive:
>
> file_obj = open('downloaded.ext', 'wb')
> while 1:
> buf =
Hi all. I'm writing a TCP-based application that I will use to trasfer
binary files through the network. This piece of code represents how do
I get a file from a remote peer and save it on my local hard drive:
file_obj = open('downloaded.ext', 'wb')
while 1:
buf = sock.recv(2048)
if len(bu