Skip to content

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

Description

@raybellis

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);

Activity

  1. luyuncheng commented on Dec 10, 2016

    @luyuncheng

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions