symlink hint v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Fri, 15 Mar 2019 00:14:25 +0100
branchv_0
changeset 7 b355abd4b887
parent 6 f81d43b74209
child 8 127d06e3a004
symlink hint
src/SimulatorSocketServer.cpp
--- a/src/SimulatorSocketServer.cpp	Thu Mar 14 21:37:43 2019 +0100
+++ b/src/SimulatorSocketServer.cpp	Fri Mar 15 00:14:25 2019 +0100
@@ -35,6 +35,8 @@
 
 	if (listnening) {
 		std::wcout << L"Listening on: " << path.toStdWString() << std::endl;
+		std::wcout << L"To allow client connections do:" << std::endl;
+		std::wcout << L"ln -s " << path.toStdWString() << " /var/run/spnav.sock" << std::endl;
 
 		connect(server, &QLocalServer::newConnection, [path, this]() {
 			std::wcout << L"New connection on: " << path.toStdWString() << std::endl;