cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Only want to open TCP port

From: Alan Wolfe <alan.wolfe_at_gmail.com>
Date: Wed, 22 Feb 2012 21:31:31 -0800

I think it is possible actually!

Libcurl supports telnet, which is essentially what you want.

I dont have any info on hand but try google or the libcurl site and see if
you can find some more info about how to do telnet with libcurl

On Wed, Feb 22, 2012 at 8:08 PM, Gaylord Yu <gyu5point0_at_yahoo.com> wrote:

> I have included libcurl in Visual Studio, it compiles and successfully
> runs.
>
> However, can someone tell me how to do the following with libcurl (or if
> it is even possible in libcurl):
> I simply want to open a TCP socket at a particular IP address and port.
> Then I want to send specific text string (e.g. "Hello world") to that TCP
> port.
> I don't want HTTP or FTP, just simply send a text string to a specific TCP
> port.
>
> Can someone help? From what I can see, libcurl can't do this...
> Let me know if you need additional information.
> Thanks in advance for any help.
>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-02-23