c++ - libcurl 是否能够通过 UDP 发送 http 消息?

标签 c++ c curl udp libcurl

我开发了一个进行参数跟踪的程序。我想在参数值更改时通过 通过 udp 的 http 消息通知服务器。

我想为此使用 libcurl。 libcurl 是否能够通过 UDP 发送 http 消息?

最佳答案

不,它没有。对于 HTTP,libcurl 仅支持 TCP 或 Unix 域套接字。将来可能会添加一些内容。

(libcurl 支持一些其他协议(protocol)的 UDP 传输。)

关于c++ - libcurl 是否能够通过 UDP 发送 http 消息?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25690847/

相关文章:

c - 函数执行在遇到第一个 return 语句时不退出

android - 如何解决 android (NDK) 中缺少 futimes() 的问题?

PHP Fire and Forget POST 请求

authentication - MS Dynamics CRM 2013 和 LAMP 之间的集成

c++ - 在 Windows 7 64 位中未接收到 WM_WTSSESSION_CHANGE

c++ - 无法使用 *p1/*p2,因为它正在考虑/* 作为评论部分的开始

c++ - 定义这两个类 "typedef map<C, B::iterator> A ; typedef list<D, A::iterator> B "?

不使用cmake编译源码

cURL:上传时如何显示进度信息?

c++ - 对相同基类的引用必须在内存中具有单独的偏移量