curl-and-php
Re: Stupid question
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 25 Apr 2002 09:17:42 +0200 (MET DST)
Date: Thu, 25 Apr 2002 09:17:42 +0200 (MET DST)
On Wed, 24 Apr 2002 Stefanie.Thies_at_lycos-europe.com wrote:
> One rather stupid question:
> I want to connect to a telnet server on a specific port.
> How hav I to write the curl statement?
>
> I tried:
> a) curl telnet://<the server>:<the port>
That's how it is supposed to work. Hm, well I tried this right now and it
works for me.
> b) curl telnet://<the server> <the port>
This is wrong.
> But both did not work.
What happened when you tried the first approach? Try adding -v, it usually
gives some more hints.
-- Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/Received on 2002-04-25