代码之家  ›  专栏  ›  技术社区  ›  MathGladiator

我能在libevent中使用curl_multi/multi_socket吗

  •  0
  • MathGladiator  · 技术社区  · 14 年前

    我正在使用libevent2构建一个服务器,我正在尝试让服务器异步使用libcurl,我想知道如何使用libevent2实现这一点。

    我希望能够让curl发送事件,以便检查当前状态。

    更新:我知道了

    http://github.com/mathgladiator/node.ocaml/blob/master/ext/sandbox.c

    1 回复  |  直到 14 年前
        1
  •  1
  •   Daniel Stenberg    14 年前

    multi_socket api是为libevent等基于事件的系统所使用的,所以是的。