我开发了一个进行参数跟踪的程序。我想在参数值更改时通过 通过 udp 的 http 消息通知服务器。
我想为此使用 libcurl。 libcurl 是否能够通过 UDP 发送 http 消息?
最佳答案
不,它没有。对于 HTTP,libcurl 仅支持 TCP 或 Unix 域套接字。将来可能会添加一些内容。
(libcurl 支持一些其他协议(protocol)的 UDP 传输。)
关于c++ - libcurl 是否能够通过 UDP 发送 http 消息?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25690847/