Miguel,

I think it would be more 'correct' not to force 64K buffers, but simply give
the possibility to change the default value (which the OS sets).

Do you agree?

Maurilio.

PS. If there was a hard-coded limit before, well, it was 'wrong' as well.

Miguel Angel Marchuet wrote:
> 2008-04-01 12:42 UTC+0100 Miguel Angel Marchuet <[EMAIL PROTECTED]>
>    * include\inet.h
>    * source\tip\client.prg
>    * source\tip\ftpcln.prg
>    * source\vm\inet.c
>      * Modified STOR method to execute GetReply at Port mode to sincronize 
> ftp responses and
>        not STOP connection.
>      + Added dynamic buffer rcv and snd increasing by default 1400 to 64k to 
> increase speed transfer.
>      + Added high level functions to manage buffers
>       InetGetSNDBufSize( pSocket )
>       InetGetRCVBufSize( pSocket )
>       InetSetSNDBufSize( pSocket, nBufSize )
>       InetSetRCVBufSize( pSocket, nBufSize )
>      * Corrected ftpclient to use increased buffers on transfers.
>      * With these changes the transfer speed to be increased more than 10 
> times. I hope that can be
>        exploited in LETO RDD and FTP transfers, and others. It is not tested 
> on Linux machines, perhaps
>        requires some modification.
> 
> Best regards,
> Miguel Angel Marchuet
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> xHarbour-developers mailing list
> xHarbour-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xharbour-developers
> 

-- 
 __________
|  |  | |__| Maurilio Longo
|_|_|_|____| farmaconsult s.r.l.



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to