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