Code Monkey home page Code Monkey logo

Comments (8)

zfl9 avatar zfl9 commented on May 28, 2024

libev的问题

from ipt2socks.

zfl9 avatar zfl9 commented on May 28, 2024

为什么你用的是poll后端?什么系统?

from ipt2socks.

 avatar commented on May 28, 2024

用的路由器上linux系统,uname -a

Linux 4.1.51 #2 SMP PREEMPT Fri Aug 6 17:57:11 EDT 2021 aarch64

from ipt2socks.

 avatar commented on May 28, 2024

有什么建议吗? 用新版的libev编译?

from ipt2socks.

zfl9 avatar zfl9 commented on May 28, 2024

内核有问题吧?为什么没有选择epoll呢。我看你这个是linux内核呀,应该是会选择epoll的,不应该选择poll

from ipt2socks.

zfl9 avatar zfl9 commented on May 28, 2024

我看下libev文档先

from ipt2socks.

zfl9 avatar zfl9 commented on May 28, 2024

evloop_t *evloop = ev_loop_new(0);

把这行的 ev_loop_new(0) 改为 ev_loop_new(EVBACKEND_EPOLL | EVFLAG_NOENV)。然后重新编译再试下。

from ipt2socks.

 avatar commented on May 28, 2024

你的代码没问题,是我的工具链有问题,我换了工具链,就不漰溃了,多谢帮忙

from ipt2socks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.