[twsocket] Update the browse

2005-08-14 Thread Gleison Gibellato da Silva
I just started to use ICS components and they appear very simple to use and powerfull, the sample help a lot for me that have a small knowlegment in HTTP protocol. I built a HTTP server using the ISC HTTPSever component and I have a question, I need update the browse by the server side without

Re: [twsocket] Update the browse

2005-08-14 Thread Francois PIETTE
I built a HTTP server using the ISC HTTPSever component and I have a question, I need update the browse by the server side without the browse send a request to me Is it possible? If yes how can I do this? Technically, it is possible except the HTTP protocol has no provison for doing that.

[twsocket] Twsocketserver

2005-08-14 Thread Igor Pokorny
Hi guys, I do have a realtime application communicates to one side by USB and to the other acts as http server and/or TCPserver. I am trying to use ICS http server and everything seems OK. I use another free component of TCP server that has to run in different thread because of not event

Re: [twsocket] HttpCli content encoding

2005-08-14 Thread Maurizio Lotauro
On 13-Aug-05 08:46:47 Francois PIETTE wrote: Thank Francois for your answer. I hope other people will partecipate to this discussion. a) Isn't it possible to defer call to THttpContentCoding.GetCoding until it is really needed so that exceptions are raise at that time ? I made some changes, now

Re: [twsocket] Twsocketserver

2005-08-14 Thread brian
You could use a custom small header on every packet you send, i.e. first 2-4 bytes being the packet size, so when you receive data you add to a buffer and check if it reached the total size of the packet. If it has not, do nothing, if it has, complete the buffer and send the data packet to a