We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7da44f0 commit f6b4846Copy full SHA for f6b4846
1 file changed
examples/QT/SioChatDemo/mainwindow.cpp
@@ -3,6 +3,8 @@
3
#include <functional>
4
#include <mutex>
5
#include <cstdlib>
6
+
7
+#define kURL "ws://localhost:3000"
8
#ifdef WIN32
9
#define BIND_EVENT(IO,EV,FN) \
10
do{ \
@@ -113,7 +115,7 @@ void MainWindow::NicknameAccept()
113
115
m_name = m_dialog->getNickname();
114
116
if(m_name.length()>0)
117
{
- _io->connect("ws://localhost:3000");
118
+ _io->connect(kURL);
119
}
120
121
0 commit comments