Commit Graph

31 Commits

Author SHA1 Message Date
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
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