cURL / Mailing Lists / curl-users / Single Mail


Re: Talking to a raw SSL Socket (aka TCP/IP/SSL)

From: Daniel Stenberg <>
Date: Fri, 15 Sep 2006 15:39:36 +0200 (CEST)

On Fri, 15 Sep 2006, Raymond DeGennaro II wrote:

>> Well, that's pretty much what telnet:// is, isn't it?
> Kind of, but I can't just do something like:
> curl telnet:// --data-ascii "blah blah blah"
> to throw a chunk of text at socket via SSL and get the response back, can I?

First, telnet:// is not SSL so it'd of course only work on a "plain socket",
and then you'd have to:

  echo "blablablah" | curl telnet:// > output

... but all this said, the telnet support in curl isn't the best integrated

  Commercial curl and libcurl Technical Support:
Received on 2006-09-15