RE: [twsocket] Redirect a browser to another port

2005-04-25 Thread Bjørnar Nielsen
You should probably wait with closing down the server until data is sent instead of using a timer. You might use OnDataSent and check the property AllSent before closing down. Then you can post a custom message to close down the server instead of using a timer, a slow line could use more than 500

Re: [twsocket] Redirect a browser to another port

2005-04-25 Thread Guillaume MAISON
> You use a HTML relocation. Why not using a HTTP relocation ? HTTP relocation is immediate while HTML relocation permits to use a timer on client side before reconnecting to the http server, with a url provided... timer to wait for the http server to be restarted on its new port. best regards,

Re: [twsocket] Redirect a browser to another port

2005-04-25 Thread Francois Piette
You use a HTML relocation. Why not using a HTTP relocation ? -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: "Wilfried Mestdagh" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Monday, April 25, 2005 1:56 PM Subject: [twsocket] Redirect a browser to another por

Re: [twsocket] Redirect a browser to another port

2005-04-25 Thread Guillaume MAISON
> I have HTTP server application. User has possibility to change listening > port. Is it possible to redirect a browser to another port ? > if the browser is recent enough, when connecting, you should have in the request a header named "Host: " followed by the hostname (or ip address) the browser