diff options
Diffstat (limited to 'ingen/client/SocketClient.hpp')
-rw-r--r-- | ingen/client/SocketClient.hpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/ingen/client/SocketClient.hpp b/ingen/client/SocketClient.hpp index 092ef9d2..b3656d92 100644 --- a/ingen/client/SocketClient.hpp +++ b/ingen/client/SocketClient.hpp @@ -33,9 +33,13 @@ public: const URI& uri, SPtr<Raul::Socket> sock, SPtr<Interface> respondee) - : SocketWriter(world.uri_map(), world.uris(), uri, sock) - , _respondee(respondee) - , _reader(world, *respondee.get(), sock) + : SocketWriter(world.rdf_world(), + world.uri_map(), + world.uris(), + uri, + sock) + , _respondee(respondee) + , _reader(world, *respondee.get(), sock) {} SPtr<Interface> respondee() const override { @@ -56,7 +60,7 @@ public: : Raul::Socket::Type::TCP); SPtr<Raul::Socket> sock(new Raul::Socket(type)); - if (!sock->connect(uri)) { + if (!sock->connect(uri.str())) { world.log().error("Failed to connect <%1%> (%2%)\n", sock->uri(), strerror(errno)); return SPtr<Interface>(); |