Commit Graph

54 Commits

Author SHA1 Message Date
d3a1e6589c Support cmake (build as a static library) 2018-09-17 18:32:36 +08:00
eaec590513 NBAcceptResult can stopAtEdge now 2018-09-12 12:43:15 +08:00
63998de4fc Fix bugs in NBSendResult and NBRecvResult 2018-09-12 02:22:15 +08:00
9d4767f741 NBSendResult has setStopAtEdge() now 2018-09-12 00:59:03 +08:00
3bad71c8c9 Fix bug in epoll::del(...) 2018-09-12 00:30:10 +08:00
5071f615f2 Fix bug in NBAcceptResult 2018-09-10 15:47:24 +08:00
014e216301 Support non-blocking accept() 2018-09-10 01:35:48 +08:00
0213119ad8 Fix bugs in Linux 2018-09-10 00:54:56 +08:00
f733f6c74e Add comments 2018-09-09 23:49:08 +08:00
6c46214f6b Support non-blocking send and recv 2018-09-09 23:34:11 +08:00
34ab73a7c4 Support non-blocking connect() 2018-09-09 22:35:18 +08:00
1c4e3e5f24 add a method for init native socket library
Fixed #6
2018-09-09 16:11:32 +08:00
bd3bd376f6 sendall now supports string 2018-08-26 00:27:37 +08:00
e527e931ff Support epoll better 2018-08-26 00:19:17 +08:00
e4163a6a7e Add win32 winnt defines description 2018-08-25 23:35:37 +08:00
f4e50620f7 change recvuntil to recvall in recvpack 2018-08-25 23:28:12 +08:00
271fafd576 Fix compile error in Linux 2018-07-05 02:32:09 +08:00
bae91fccce Update epoll interface 2018-07-05 02:14:50 +08:00
a507c0e4a3 Fix compile error 2018-07-05 02:07:50 +08:00
132bc0ba6e Fix compile error 2018-07-05 01:59:47 +08:00
aa4e6fe598 Fix bugs in epoll 2018-07-05 01:58:38 +08:00
fee6ee7972 Add epoll support 2018-07-05 01:56:22 +08:00
37e9ecf160 Update helper 2018-06-16 23:27:47 +08:00
78a37687d1 Fix sock api bug 2018-06-12 09:41:15 +08:00
ece0028d53
Update Readme.md 2018-06-11 14:39:57 +08:00
ea78fb096e
Update Readme.md 2018-06-11 14:25:24 +08:00
518a99a961 Update helper 2018-06-11 11:45:50 +08:00
767e457a41 Update helper 2018-06-08 12:02:59 +08:00
e106e769cf Add Helper functions 2018-06-07 21:01:40 +08:00
fdea364bb8 Fix inet_ntop wrong usage 2018-06-07 20:04:28 +08:00
8f95cb2f48 Fix bug in convertback_ipv46() 2018-06-06 08:42:54 +08:00
2efde0cd33 Better debug info 2018-06-06 01:18:32 +08:00
8cf93c3f9a Better document.
Also fixed some small bugs.
2018-06-06 01:04:44 +08:00
bb97f75944 Fix bug in udpsock::_impl::make_decided 2018-06-06 00:34:22 +08:00
8c449dc774 Fix bug in udp functions 2018-06-06 00:06:54 +08:00
23dbae63e4 Fix getpeername memory problem 2018-06-05 13:13:06 +08:00
fc9e9578d9 Serversock supports ipv6 2018-06-03 10:28:04 +08:00
581ee7ea23 Add Error Code Enum 2018-06-03 10:08:03 +08:00
262270ba27 Support IPv6
There maybe many bugs in this commit. But at least it compiles
successfully.
2018-06-02 13:47:33 +08:00
a5e1ec5560 Add selector implement 2018-05-29 13:36:38 +08:00
ebaa51c8f5 Fix serversock::set_reuse() 2018-05-17 19:38:40 +08:00
d44dbebe13 Bump version 2018-05-09 21:35:39 +08:00
ffcfcb5baf Fix compile error with VS 2018-05-09 21:30:34 +08:00
6aebdca0bc Update GSock 2018-05-05 15:37:50 +08:00
eb2337ae22 Fix bug in getlocal(),getpeer(). 2018-05-04 18:04:36 +08:00
9996b38c19 Add getlocal,getpeer to class sock 2018-05-04 17:44:39 +08:00
0ed154eeff Fix compile error on Linux (clang and gcc) 2018-05-04 07:15:30 +08:00
8290d01644 Fix memory leak in DNSResolve 2018-04-27 13:25:32 +08:00
5a32be1e79 Update to 2.3.4
Add UDP support.
Change to standard marco.
2018-04-23 15:56:09 +08:00
b8fc3e310a Add MIT License 2018-02-11 15:44:02 +08:00