After
2008-06-27 17:13 UTC+0100 Miguel Angel Marchuet <[EMAIL PROTECTED]>
* contrib/hbtip/client.prg
* contrib/hbtip/ftpcln.prg
* contrib/hbtip/httpcln.prg
* contrib/hbtip/mail.prg
* contrib/hbtip/sendmail.prg
+ Added methods setget to interrogate buffer size send/recive
METHOD InetRcvBufSize( SocketCon, nSizeBuff )
METHOD InetSndBufSize( SocketCon, nSizeBuff )
+ Added data members to assign default buffer sizes
DATA nDefaultRcvBuffSize
DATA nDefaultSndBuffSize
+ Asigned default buffer size to 64kb only for FTP transfer,
previous to open sockets
::nDefaultSndBuffSize := 65536
::nDefaultRcvBuffSize := 65536
* Fixed port ftp protocol.
* source/rtl/hbinet.c
* now works with default system buffer, for example 8kb at W2000.
instead of harcoded 1400
I get:
../../hbinet.c: In function 'hb_socketConnect':
../../hbinet.c:475: error: 'SOCKET_ERROR' undeclared (first use in
this function)
../../hbinet.c:475: error: (Each undeclared identifier is reported only once
../../hbinet.c:475: error: for each function it appears in.)
Changes in inet* core functions should be done carefully and well tested.
There are many smtp,pop,ftp,* servers outside.
How many tests have been done on server/client platforms beside W2000.
best regards,
Lorenzo
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour