Commit Graph

22 Commits

Author SHA1 Message Date
e527e931ff Support epoll better 2018-08-26 00:19:17 +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
132bc0ba6e Fix compile error 2018-07-05 01:59:47 +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
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
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
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
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