Browse Source

main函数

yaozheng0922 4 months ago
parent
commit
8e0e0ceacf
1 changed files with 11 additions and 0 deletions
  1. 11 0
      source/main.cc

+ 11 - 0
source/main.cc

@@ -0,0 +1,11 @@
+#include "server.hpp"
+
+#define HOST "127.0.0.1"
+#define USER "thj"
+#define PASSWD "Abcd1234@"
+
+int main() 
+{
+    gobang_server server(HOST, USER, PASSWD);
+    server.start(8081);
+}