Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++ echo server doesn't match API #36

Open
raybellis opened this issue Sep 9, 2015 · 1 comment
Open

C++ echo server doesn't match API #36

raybellis opened this issue Sep 9, 2015 · 1 comment

Comments

@raybellis
Copy link

Compiling under Fedora 21, gets the following error and a few more like it:

g++ -I/home/ray/src/libuinet/bin/echo++/../../lib/libev -O -gdwarf-2  -I/home/ray/src/libuinet/bin/echo++/../../lib/libuinet/api_include   -c -o echo++.o echo++.cc
echo++.cc: In constructor ‘EchoServer::EchoServer(ev::dynamic_loop&, server_config*)’:
echo++.cc:232:72: error: invalid conversion from ‘int’ to ‘uinet_instance_t {aka uinet_instance*}’ [-fpermissive
error = uinet_socreate(UINET_PF_INET, &listener_, UINET_SOCK_STREAM, 0);
@luyuncheng
Copy link

have you solved this problem? I met the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants