Re: [twsocket] HttpCli content encoding

2005-08-13 Thread Francois PIETTE
a) Isn't it possible to defer call to THttpContentCoding.GetCoding until it is really needed so that exceptions are raise at that time ? b.1) There is already a property Options which is a set of properties. It is better to extent this set. b.2) No opinion now. c) Acceptable. Maybe add an

[twsocket] (no subject)

2005-08-13 Thread A Question
My problem is so simple I'm embarrassed to ask. No doubt it's completely my fault. I'm struggling with ICS because the software comes with no 'user guide', no short examples, and even finding examples on the internet less than 1000 lines of code is hard. Despite those shortcomings I'm

Re: [twsocket] (no subject)

2005-08-13 Thread Francois PIETTE
socket709.port:='709'; socket709.address:='127.0.0.1'; // for now my own IP is enough to test with socket709.connect; socket709.sendstr(#13); but this always generates an exception from ICS. No matter what I do I can't make it work. The only thing you haven't seen is the

Re: [twsocket] (no subject)

2005-08-13 Thread Wilfried Mestdagh
Hello, socket709.connect; socket709.sendstr(#13); TWSocket is async. When you call connect; then it will execute in background and your program can do other things. Later when the connection is etablished OnSessionConnected is fired. If there is no winsock error (See Error argument),