summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-05-26 16:56:25 +0000
committerDavid Robillard <d@drobilla.net>2015-05-26 16:56:25 +0000
commitecdcc5f2c3d98a551ff8e5ae6b546704bf6aa881 (patch)
treead76acd8a70e3304c9a7e30ad79fc027a6b39234 /src
parentd67f0d852da6dae8232476c8379b7c5389b41c4d (diff)
downloadingen-ecdcc5f2c3d98a551ff8e5ae6b546704bf6aa881.tar.gz
ingen-ecdcc5f2c3d98a551ff8e5ae6b546704bf6aa881.tar.bz2
ingen-ecdcc5f2c3d98a551ff8e5ae6b546704bf6aa881.zip
Listen for TCP connections on all interfaces.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5689 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/server/SocketListener.cpp3
1 files changed, 1 insertions, 2 deletions
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<int32_t>();
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();