Hello Opqrst,

> HttpCli1->>CtrlSocket->BufSize property, and I don't
> know how to set can more than 8193 even to 32768 or

You can set this to any value (it's integer), but if you let it default
you will probably have best performance.

> Because by this way I can Upload with my full upload
> connect speed.

Changing the buffer size will not change upload speed. This because, as
Francois already have mentioned, ethernet packet size is 1514 bytes. If
you have PPP connection then packetsize is 512 bytes. This is low level
and nothing to do with ICS or any other components.

---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz

Wednesday, January 11, 2006, 21:56, Opqrst Ghrst wrote:


> Hi

> I want to change the send buffer  just like Tidhttp it
> property "SendBufferSize" , at ThttpCli I only change
> it to max 8193 limit by set
HttpCli1->>CtrlSocket->BufSize property, and I don't
> know how to set can more than 8193 even to 32768 or
> more.
> Because by this way I can Upload with my full upload
> connect speed.
> Dose ThttpCli has just like this property to set?

> sorry for my poor english.

> --- Francois PIETTE <[EMAIL PROTECTED]> 說:

>> > I try use TIdhttp it can send with packet 32768
>> size.
>> 
>> That is not possible. Maximum packet size is 1514
>> bytes on Ethernet it is 
>> much less on modem links. You probably confuse the
>> maximum buffer size you 
>> may send and the packet size on the network. Totally
>> different things.
>> 
>> THttpCli can send any data size. You don't have to
>> worry about winsock 
>> buffer size.
>> 
>> > But when I use this Object and HttpCli at the same
>> > time I cannot complier. It seems these two object
>> > cannot use the same time.
>> 
>> Strange. But easy solution: use only THttpCli !
>> I can't help you more if you don't tell the error
>> message you get. The 
>> compiler always give error messages which give an
>> incredible help to solve 
>> problems. Seems you are neglecting those messages
>> :-(
>> 
>> --
>> [EMAIL PROTECTED]
>> http://www.overbyte.be
>> 
>> 
>> ----- Original Message ----- 
>> From: "Opqrst Ghrst" <[EMAIL PROTECTED]>
>> To: "ICS support mailing" <twsocket@elists.org>
>> Sent: Tuesday, January 10, 2006 8:42 AM
>> Subject: 回覆: Re: [twsocket] ThttpCil Send bufsize
>> problem
>> 
>> 
>> >
>> > Thanks for your reply.
>> > I try use TIdhttp it can send with packet 32768
>> size.
>> > But when I use this Object and HttpCli at the same
>> > time I cannot complier. It seems these two object
>> > cannot use the same time.
>> >
>> > --- Francois PIETTE <[EMAIL PROTECTED]>
>> 說:
>> >
>> >> > Q1:
>> >> > I set HttpCli1->CtrlSocket->BufSize=32768
>> >> > ,but when I send data it only has Max BufSize
>> >> 8193.
>> >> > How can I set it more than 8193 and has it Max
>> >> limit?
>> >>
>> >> Sending buffer size doesn't change much at the
>> >> network layer. HTTP use TCP
>> >> and TCP is a stream oriented proptocol. Default
>> >> buffer size fit the largest
>> >> TCP packet on Ethernet network.
>> >>
>> >> > Q2:
>> >> > Dose HttpCli1->SendStream has Size limit?
>> >> > When I send more than 100MB file, It seems not
>> >> works.
>> >>
>> >> Actually it works :-)
>> >> When you say "it doesn't work", I can't help you.
>> >> You must give more details
>> >> about what doesn't work. You must given error
>> >> message or symptoms.
>> >>
>> >> --
>> >> [EMAIL PROTECTED]
>> >> http://www.overbyte.be
>> 
>> > -- 
>> To unsubscribe or change your settings for TWSocket
>> mailing list
>> please goto
>> http://www.elists.org/mailman/listinfo/twsocket
>> Visit our website at http://www.overbyte.be


> _______________________________________
>  YM - 離線訊息
> 
> 就算你沒有上網,你的朋友仍可以留下訊息給你,當你上網時就能立即看到,任何說話都冇走失。
>  http://messenger.yahoo.com.hk

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to