Re: [twsocket] Project proposal

2007-03-02 Thread Cosmin Prund
t exactly compatible with commercial software! And yes, I do use Linux on the server because of it's flexibility, I just don't do programming on Linux. And if I'll do any kind of programming for Linux in the near future, it will be targeted at some kind of "virtual machi

[twsocket] THttpCli.GetAsync without any time-out implementation?

2006-11-25 Thread Cosmin Prund
t;run" for ever or will it stop when the TCP/IP stack gives up? Thanks, Cosmin Prund -- 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

Re: [twsocket] Posting data to web serverusing THttpCliunder usercontrol

2006-11-22 Thread Cosmin Prund
uot; connection I only have two options: use CONNECT or use successive POST's; The "successive POSTs" variant doesn't sound all that good, since I also want to "tunnel" interactive traffic through the HTTP proxy (interactive=VNC, not plain-old chat; Chat would pose no

Re: [twsocket] Posting data to web server using THttpCliunder usercontrol

2006-11-22 Thread Cosmin Prund
ying an CONNECT first and, if that doesn't work, fall-back to alternative, slower methods. Can the THttpCli component be used for proxy CONNECT only, bypassing everything else? Or should I start with a vanilla TWSocket and work my way from that? Thanks, Cosmin Prund -- 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

Re: [twsocket] Posting data to web server using THttpCli under usercontrol

2006-11-21 Thread Cosmin Prund
rks through the proxy. On a different note, how do programs like "zebedee" provide a TCP/IP tunnel through a HTTP proxy? I understand how the "downstream" part works, but how about the "upstream" part? Thanks, Cosmin Prund -- 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

Re: [twsocket] What might cause ICS to fail and we need to be aware of?

2006-11-21 Thread Cosmin Prund
s such as > displaying any modal dialog box or form. > All ProcessMessages calls are accounted for; None would run from within an ICS event handler. And if you must know what I'm using ProcessMessages for I'll tell you: I'm running my own ShowModal variant because the built-in one is not flexible enough. -- Cosmin Prund -- 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

[twsocket] Posting data to web server using THttpCli under user control

2006-11-21 Thread Cosmin Prund
out closing the connection. Is it possible? Will it work through an HTTP proxy? Thanks, Cosmin Prund -- 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

Re: [twsocket] What might cause ICS to fail and we need to be aware of?

2006-11-21 Thread Cosmin Prund
ng the failure rate is too high because I never saw such a problem using my web browser. Not once! And after the time out expires and the component "aborts" and restarts it's Get, it usually finishes very very quickly. So I need to ask: Is there some other obvious thing I

[twsocket] What might cause ICS to fail and we need to be aware of?

2006-11-21 Thread Cosmin Prund
I noticed something. If in the OnDocData event handler of THttpCli I somehow re-enter the "message pump" (that is, do something that calls Application.HandleMessage or Application.ProcessMessages) the downloaded file is corrupted! It took me a while to find this out and now I'm asking: (1) Wha

Re: [twsocket] HttpCli & ContentRangeBegin

2006-11-21 Thread Cosmin Prund
You know, modern hard drives actually checksum written data so you never get corrupted data back. You might get NO data back (that is, an I/O error) but that would make any operation on the file fail, including burning the file to a CD. I've read this in a "howto" for Linux'es software raid dri

Re: [twsocket] Multi-Threaded THttpServer?

2006-11-18 Thread Cosmin Prund
hing more to this, like taking into account Keep Alive connections? I can figure it out myself from here, thanks for the tip! Thanks, Cosmin Prund -- 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

Re: [twsocket] Multi-Threaded THttpServer?

2006-11-18 Thread Cosmin Prund
lution to my problem! I can now imagine better ways of exploiting the HTTP protocol in order to get my "message" across, without threads and blocking communications. Thanks, Cosmin Prund -- To unsubscribe or change your settings for TWSocket mailing list please goto http://w

Re: [twsocket] Multi-Threaded THttpServer?

2006-11-18 Thread Cosmin Prund
st not in an acceptable way). In this way the client would receive messages in batches every 10 seconds (or whatever the retry time is). If I have the server do the waiting the messages will flow much faster. > Dan > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL

[twsocket] Multi-Threaded THttpServer?

2006-11-18 Thread Cosmin Prund
rver in the process! I might try subclassing THttpServer and setting FWSocketServer.MultiThreaded = True in CreateSocket but I know too little about the internals of THttpServer and ICS in general to understand the consequences of doing this. Any help on the matter is welcomed, thanks. -- Cosmin Prund

Re: [twsocket] HttpCli & ContentRangeBegin

2006-11-17 Thread Cosmin Prund
my own site, so I've got everything under my control). I've done this because I know I've got quite a few clients on very bad dial-up lines. If I didn't have those clients I would have done no checking at all. -- Cosmin Prund -- 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

[twsocket] HttpCli & ContentRangeBegin

2006-11-16 Thread Cosmin Prund
make such radical surgery useful? If so, is tail-trimming the best solution, or should I implement some other kind of checksumming to make sure no portion of the code is actually corrupt (after all, corruption might occur anywhere in the document, not just in the last received portion). Thanks, C

[twsocket] Normal processing and abnormal(errors) processing for THttpCli

2006-11-14 Thread Cosmin Prund
tions might be a bit dumb but I'm new to the concept of async processing in ICS and I need to make sure I get it right! Thanks, Cosmin Prund -- 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

Re: [twsocket] Help on ICS's HTTP client component

2006-11-11 Thread Cosmin Prund
K's, retransmissions, packets lost! So that's the end of it. It's the server that's causing my troubles... Thanks for your help! Cosmin Prund -- 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

[twsocket] Help on ICS's HTTP client component

2006-11-10 Thread Cosmin Prund
eceived, no error) I consider the connection to be "timed out". This gets my application back on the track working properly but this feels like a hack, it doesn't seem to be the right thing to do. Please correct me if I'm wrong! Thanks, Cosmin Prund -- To unsubscribe or change