简体   繁体   English

用于接收/发送的 Libcurl 和用户定义函数

[英]Libcurl and user-defined functions for receiving/sending

I have my own functions for receiving and sending data to the.network, based on WinSock, but I really don't want to implement text protocols myself, such as HTTP/HTTPS.我有自己的函数来接收和发送数据到.network,基于WinSock,但我真的不想自己实现文本协议,比如HTTP/HTTPS。 I would like some good library to do it for me, for example Libcurl.我想要一些好的图书馆为我做这件事,例如 Libcurl。

However, for example, if I make a GET request using libcurl, libcurl uses its own send and receive functions, but I want to use my own functions instead.但是,例如,如果我使用 libcurl 发出GET请求,libcurl 使用它自己的发送和接收函数,但我想改用我自己的函数。

Does libcurl allow, somehow, to replace its functions for receiving and sending to use other user-defined functions? libcurl 是否允许以某种方式替换其接收和发送函数以使用其他用户定义的函数?

Does libcurl allow, somehow, to replace its functions for receiving and sending to use other user-defined functions? libcurl 是否允许以某种方式替换其接收和发送函数以使用其他用户定义的函数?

No, it does not.不,不是的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM