From ecdcc5f2c3d98a551ff8e5ae6b546704bf6aa881 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 26 May 2015 16:56:25 +0000 Subject: Listen for TCP connections on all interfaces. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5689 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/SocketListener.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/server') diff --git a/src/server/SocketListener.cpp b/src/server/SocketListener.cpp index 8eca2d60..b00a5c79 100644 --- a/src/server/SocketListener.cpp +++ b/src/server/SocketListener.cpp @@ -55,8 +55,7 @@ SocketListener::ingen_listen(Engine* engine, // Bind TCP socket const int port = world->conf().option("engine-port").get(); std::ostringstream ss; - ss << "tcp://localhost:"; - ss << port; + ss << "tcp://*:" << port; if (!net_sock->bind(Raul::URI(ss.str())) || !net_sock->listen()) { world->log().error("Failed to create TCP socket\n"); net_sock->close(); -- cgit v1.2.1