Re: [twsocket] HttpSvr & send picture stream

2006-11-21 Thread xmedia
h := StreamImg.Size; AResponseInfo.WriteHeader; AContext.Connection.IOHandler.Write(StreamImg); finally StreamImg.Free; end; - Original Message - From: "xmedia" <[EMAIL PROTECTED]> To: "'ICS support mailing'" Sent: Sunday, November 19,

[twsocket] HttpSvr & send picture stream

2006-11-19 Thread xmedia
Hello! I am trying to send a JPEG stream stored in memory to HttpCli. Below is my code. It worked well for first few days and then the server (I mean the HttpSvr , not the application) just stopped responding to any http request until I restart the application. The cause seems to be related to se

[twsocket] THttpServer POST data

2006-09-08 Thread xmedia
Anybody knows where I can find a web server demo that can process posted data? For example, I want to get all data posted from a web form and save to database. The current one came with ICS components only shows how to process a GET request. Any help is appreciated. Thanks. wang -- To unsubscribe

Re: [twsocket] THttpServer Authentication

2006-09-08 Thread xmedia
Thank you for all your help. I managed to get it work.:-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arno Garrels Sent: Friday, September 08, 2006 2:41 PM To: ICS support mailing Subject: Re: [twsocket] THttpServer Authentication xmedia wrote

Re: [twsocket] THttpServer Authentication

2006-09-07 Thread xmedia
Subject: Re: [twsocket] THttpServer Authentication That is a reference variable parameter! You need to pass the correct password for the user specified to the component by assigning to the variable! Regards, SZ - Original Message - From: "xmedia" <[EMAIL PROTECTED]> To: "

[twsocket] THttpServer Authentication

2006-09-07 Thread xmedia
Hi, I am wondering anybody here can give an example on how to build a password protected web server using THttpServer. I tried to setup a basic authentication for THttpServer. But it seems that HttpServer1AuthGetPassword event always give an empty Password (I use ShowMessage(Password) in C++ Buil

Re: [twsocket] TWSocket Digest, Vol 174, Issue 1

2006-06-19 Thread xmedia
Thanks Francois. You are right. I didn't use the latest version. I managed to solve the problem by downloading the latest beta version. Thank you. Wang Date: Sun, 18 Jun 2006 19:27:25 +0200 From: "Francois PIETTE" <[EMAIL PROTECTED]> Subject: Re: [twsocket] HttpCli user authentication whent get()

[twsocket] HttpCli user authentication whent get()

2006-06-18 Thread xmedia
I tried to set the Username and Password field in my HttpCli component when accessing password protected IP camera without any success. I always get 401 error. But in IE I can enter the same user name and password in the pop=up window to access. I am wondering whether I did anything wrong. My code