[Development] Add new "-i" and "-interface" parameters to Xvnc. Now Xvnc is able
to listen on specific interface.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3963 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/common/network/TcpSocket.h b/common/network/TcpSocket.h
index 00ccf78..f45c2ee 100644
--- a/common/network/TcpSocket.h
+++ b/common/network/TcpSocket.h
@@ -65,8 +65,8 @@
class TcpListener : public SocketListener {
public:
- TcpListener(int port, bool localhostOnly=false, int sock=-1,
- bool close=true);
+ TcpListener(const char *listenaddr, int port, bool localhostOnly=false,
+ int sock=-1, bool close=true);
virtual ~TcpListener();
virtual void shutdown();