How do you use “curl” to connect to a site with a non-standard protocol?

2018-02-05 14:53:52

This quesiton may belong on a crypto-currency forum but I'll give it a shot here. I want to connect to a web site (mining pool) using a protocol that is not http. I've read the protocol is "stratum+tcp". So I quickly tried this with curl ...

localhost:tmp davea$ curl -U "myltcworker" -P anything

"stratum+tcp://stratum.ltcpool.com:3333"

Enter proxy password for user 'myltcworker':

curl: (1) Protocol "stratum+tcp" not supported or disabled in libcurl

My question is can curl be reconfigured to support this non-standard protocol or is there another command line tool I can use?

Refering to this mailing list it is not possible to rebuild curl with custom protocols.

Stratum protocol is also not mentioned to be en- or disabled in the section Disabling Specific Protocols in Windows builds in its install instructions.

But have a look at stratum-tool, maybe it satisfies your use case.

cheers

  • Refering to this mailing list it is not possible to rebuild curl with custom protocols.

    Stratum protocol is also not mentioned to be en- or disabled in the section Disabling Specific Protocols in Windows builds in its install instructions.

    But have a look at stratum-tool, maybe it satisfies your use case.

    cheers

    2018-02-05 16:49:58