Skip to content

Commit 8493c6b

Browse files
author
nmq
committed
10-20% slower than kcp. fc_on off. no_delay on
1 parent 741fe6d commit 8493c6b

File tree

9 files changed

+640
-573
lines changed

9 files changed

+640
-573
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ cmake-build-debug/
1010
*.out
1111
*.dSYM
1212
*.o
13+
a.out*

CMakeLists.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,5 @@ set(SOURCE_FILES nmq.h types.h nmq.c dlist.h dlist.c enc.h enc.c util.h util.c t
77
#set(SOURCE_FILES test_client.c nmq.h types.h nmq.c dlist.h dlist.c enc.h enc.c util.h util.c test_server.c test_util.h test.cpp test.h)
88
add_executable(sockNM ${SOURCE_FILES})
99

10-
### add libuv. g++ -luv
11-
# /usr/local/lib is path for libuv.dylib on mac or so on other platforms
12-
find_library(UV_PATH uv /usr/local/lib NO_DEFAULT_PATH)
13-
link_libraries($UV_PATH)
14-
target_link_libraries(sockNM uv)
10+
set(LIB_NMQ_FILES nmq.h types.h nmq.c dlist.h dlist.c enc.h enc.c util.h util.c)
11+
add_library(nmq SHARED ${LIB_NMQ_FILES})

a.out.dSYM/Contents/Info.plist

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)