Re: [twsocket] HttpSrv: implementing NTLM

2005-06-23 Thread Francois Piette
As you can see the server must at least generate the Challenge when speak with an ICS client, and keep it to elaborate the Message3. While from the client side we are free to set flags and fields with specific values, the server should be able to hadle all possible values if it must answer

[twsocket] Unhelpful error message from the HTTPCli

2005-06-23 Thread John Randall
This query relates to the HTTPCli component. I have a web client and server pair which is not co-operating and I can't find the bug. Lets call this pair A. I have another pair, call it B, which is working just fine - and has been for a while. If I change the string (content) sent and the

Re: [twsocket] Help: How do I Use the asyn. methods in a D2005 serviceapp

2005-06-23 Thread Arno Garrels
Dave wrote: I'm trying to create a service app which checks the status of 80 remote printers by accessing their web pages using the ICS HTTP Client asynchronously. I initially put the code in a GUI app to test it, then tried to move it to a service and discovered that there is no

Re: [twsocket] Help: How do I Use the asyn. methods in a D2005 service app

2005-06-23 Thread Angus Robertson - Magenta Systems Ltd
In the main execute function I just want to wait until each of the requests responds triggers the OnRequestDone event. How can I do this in a service app? The service excecute method needs a message loop added, which replaces the Application.Run method that drives an interactive

Re: [twsocket] Help: How do I Use the asyn. methods in a D2005 service app

2005-06-23 Thread Wilfried Mestdagh
Hello Dave, From the top of my head, in the TService's Execute method: while not Terminated do ServiceThread.ProcessRequests(True); There is also 1 or 2 NT service examples coming with ICS. Also you can use a normal GUI also as service. I have a little class for it you can download from my

Re: [twsocket] Unhelpful error message from the HTTPCli

2005-06-23 Thread Francois PIETTE
Is anybody willing to give me advice on how to squash this bug? Use a network sniffer to spy on the LAN cable and see if the request is what you expect it to be, what the CGI expect it to be, see the difference between your two clients. You can use Ethereal which is free. Link is on my

Re: [twsocket] Unhelpful error message from the HTTPCli

2005-06-23 Thread John Randall
Dear Francois, Many thanks for taking the trouble to reply. I will do as you suggest. I've used the Web App Debugger tool in Delphi, but this shows me little more than I can see in your error messages (which I can also see by setting breakpoints in your programming and examining the values

[twsocket] Please Help: Multi-connection server problems under Kylix

2005-06-23 Thread Erich Kuba
Hi, I got no response from my previous mail, so I am guessing that there is not a lot of development of server software using ICS on Linux. Please would ANYONE with experience in writing server software with ICS contact me as I am in dire need of some help as I have a production system that is

[twsocket] HTTP File upload examples

2005-06-23 Thread Tom York
Does anyone have experience with the file uploading using the HTTPServer? I have a working server, but cannot seem to get the PostedData event handler working properly (mime parsing). Is there classes/functions that I can make use of in mimeutil.pas? Thanks. -- To unsubscribe or change your

Re: [twsocket] Assign event handler to manually created TStmpCli

2005-06-23 Thread Arno Garrels
Patrick Wong wrote: Thanks for your advice. Console program does not have message pump by default. I built a simple function to peek messages in the following way: void __fastcall PumpMessages() { MSG Msg; unsigned short TimeTick = 0; while(TimeTick 50) {