Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: tcp ports and buffer size? Holger?

From: petr:krenzelok:trz:cz at: 30-Aug-2001 20:57

----- Original Message ----- From: "Holger Kruse" <[holger--rebol--com]> To: <[rebol-list--rebol--com]> Sent: Thursday, August 30, 2001 6:48 PM Subject: [REBOL] Re: tcp ports and buffer size? Holger?
> On Thu, Aug 30, 2001 at 09:12:16AM -0500, Travis Watkins wrote: > > I am not a Rebol expert, but I would suspect that it may have > > something to do with TCP/IP packet sizes. > > > > If you receive a packet smaller than your buffer, Rebol sees that > > there was not enough data to fill the buffer, and so might assume > > that the transfer is complete. > > No, these things are handled by the TCP layer, not by REBOL. > > The problem is most likely that the web server prematurely closes the > connection, for whatever reason. That is not all that uncommon. Happens > all the time in web browsers and results in missing images or backgrounds. > > Petr, try using open/direct instead of a plain open.
Yes, I tried it too. Btw: just few days ago Gabriele told me 'direct doesn't apply to tcp ports, but maybe I am just confused in what he meant. btw: you are probably right it can be server dependent issues, as our three new data files we need to download are from another server, while our files from the first server we receive data from handles 20KB data flawlessly. btw: with upcoming rebol releases - are we going to see any changes/addition to port mechanisms? (Now I don't mean async stuff, but mysterious, record based port type you mentioned some time ago ...) Thanks for your help anyway ... -pekr-