[twsocket] socket connexion over HTTP/80

2007-06-08 Thread Cédric Joubert
hi, i'm new and i would have some question : - I need to establish a connexion socket between a client and a server (with Delphi). but i need the socket connection connect over a network blocked by a firewall/proxy which accept only HTTP request on port 80. is it possible to do that with the

Re: [twsocket] socket connexion over HTTP/80

2007-06-08 Thread Cédric Joubert
Thanks a lot for the rapid response... Of course it is possible but you will reinvent the wheel. ICS has a component THttpCli just for that purpose. It implement the HTTP protocol, client side. But reading your question, I'm not sure you want to issue a request to a webserver or just

Re: [twsocket] socket connexion over HTTP/80

2007-06-08 Thread Cédric Joubert
Thanks a lot for the rapid response too ! :-) You need a THttpCli instead. but like i've explained it before, my need is not to do request http... but i don't know if what i would like to do is just possible... with or without standard socket Delphi component so, i'm study the TWsocket

Re: [twsocket] socket connexion over HTTP/80

2007-06-08 Thread Cédric Joubert
You have to send a line like this: CONNECT hostname:portnumber HTTP/1.0crlf 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. Thanks ! but does standard Delphi components (like TClientSocket

Re: [twsocket] socket connexion over HTTP/80

2007-06-08 Thread Cédric Joubert
It depends, a proxy is a Firewall, however a Firewall must not be a proxy. TWSocket has a built-in support for socks proxies, but if you need to traverse a HTTP-proxy like M$ proxy server you need to implement that part on your own, if you do not use the HTTP client. That was not to difficult

Re: [twsocket] socket connexion over HTTP/80

2007-06-09 Thread Cédric Joubert
ICS is strongly recommanded. TClientsocket is deprecated since many years now. ok i will keep that in mind... btw: Again this mailing list is not the place to ask for other components. This mailing list is for ICS support /only/. Any other question /must/ go to other mailing lists such as

[twsocket] Var question

2008-11-29 Thread Cédric Joubert
hi, I have a (non oriented socket) question : Can you tell me what is the best general Delphi mailing list please ? Just to ask some simple questions like : How to pass nothing to a function/proc that waits for an Var argument ? Let's take the System procedure Val(S;var V;var

Re: [twsocket] Var question

2008-11-29 Thread Cédric Joubert
Thanks. Cédric - Original Message - From: Francois PIETTE [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Saturday, November 29, 2008 8:15 PM Subject: Re: [twsocket] Var question I have a (non oriented socket) question : Can you tell me what is the best general