>> But reading your question, I'm not sure you want to issue a request to a
>> webserver or just traverse a HTTP proxy ?
>> If it is the former, then THttpCli component is OK.
>> If the later, then you can use TWSocket directly, sending the HTTP
>> "CONNECT" command to the HTTP proxy.

> In fact, i was thinking more to the 2nd one : i want to establish a
> connexion between a client and a server socket
> and then i will have to exchange data/stream/packed records between them
> (client to server and server to client)
> but not via HTTP... I just need to passing threw my company (where i work)
> proxy/firewall
> that has been set to accept "only" http request over the port 80.
> i thought naively that i would just need to write the byte "HTTP1/1" in
> front of stream... maybe...

You have to send a line like this:
CONNECT hostname:portnumber HTTP/1.0<cr><lf>
and then wait for the proxy reply. Then you are connected to the remote 
server.
This is what ICS-SSL use for SSL connections thru a proxy.

--
[EMAIL PROTECTED]
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be


-- 
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

Reply via email to