Commit Graph

9 Commits

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