Commit Graph

33 Commits

Author SHA1 Message Date
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
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
bae91fccce Update epoll interface 2018-07-05 02:14:50 +08:00
a507c0e4a3 Fix compile error 2018-07-05 02:07:50 +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
78a37687d1 Fix sock api bug 2018-06-12 09:41:15 +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
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
579036b63e Update socket send,recv interface.
Marco defined instead of pragma once now.
2018-02-11 15:41:56 +08:00
14f0bb0f2f Fix compile error on Linux 2018-02-10 13:10:52 +08:00
5883ac5ca5 Update GSock
Add Log. GSock will output log if compiled with GSOCK_DEBUG.
Add error handling and return value reference.
Fix compile error on getaddrinfo().
Fix logic error on moving sockets. Now one socket will only be opened
and closed once, even if class sock is moved.
2017-08-15 09:54:10 +08:00
2c880cccb3 Initial Commit 2017-07-27 19:52:58 +08:00