diff options
author | chai <chaifix@163.com> | 2018-08-08 23:48:17 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-08-08 23:48:17 +0800 |
commit | 3fb2df7ff0b77c7a0075473d8e4db3450191ae6b (patch) | |
tree | e0855fcbafa30c32534966a66026f69e3bda0e11 /test | |
parent | 847e5910abcc2431ad284ef843d482807349682d (diff) |
*update
Diffstat (limited to 'test')
-rw-r--r-- | test/04Network/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/04Network/main.cpp b/test/04Network/main.cpp index 6db72ab..571708f 100644 --- a/test/04Network/main.cpp +++ b/test/04Network/main.cpp @@ -67,8 +67,9 @@ int main(int argc, char* argv[]) wndSetting.resizable = true; wnd->init(&wndSetting); - Net::get()->init(nullptr); + Net::get()->init(); + // server Socket socket(SocketType::TCP, 6438); Thread t("Receive Network Data", netWorkThread); |