port num
This commit is contained in:
@@ -120,7 +120,7 @@ int main()
|
||||
sql::init();
|
||||
std::thread t(checker);
|
||||
// Bind the server to a port.
|
||||
int err = TcpSocket::listent("0.0.0.0", 8888, call);
|
||||
int err = TcpSocket::listent("0.0.0.0", serverPort, call);
|
||||
if (err < 0)
|
||||
{
|
||||
printf("ERROR %d", err);
|
||||
|
Reference in New Issue
Block a user