Skip to content

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

@raybellis

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

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