summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2019-12-19 22:43:55 +0800
committerruki <[email protected]>2019-12-19 10:23:32 +0800
commitdb52fd10877391ebc89be2c6551b94901a31e7b6 (patch)
tree116c4c5ca5b119b195eccc189c8d6bbb714a2641
parent2868bd2d8f876848ec3bd709f8d76ac18743f703 (diff)
update readme
-rw-r--r--README_zh.md4
-rw-r--r--xmake/core/base/socket.lua1
2 files changed, 3 insertions, 2 deletions
diff --git a/README_zh.md b/README_zh.md
index 5535f5a6a..ffaabe42c 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -60,8 +60,8 @@ xmake的目标是开发者更加关注于项目本身开发,简化项目的描
如果你想要了解更多,请参考:
-* [在线文档](https://xmake.io/#/zh/)
-* [项目主页](https://xmake.io/cn)
+* [在线文档](https://xmake.io/#/zh-cn/getting_started)
+* [项目主页](https://xmake.io/#/zh-cn/)
* [Github](https://github.com/xmake-io/xmake)
* [Gitee](https://gitee.com/tboox/xmake)
diff --git a/xmake/core/base/socket.lua b/xmake/core/base/socket.lua
index ac42a14ce..8d6a62499 100644
--- a/xmake/core/base/socket.lua
+++ b/xmake/core/base/socket.lua
@@ -37,6 +37,7 @@ socket.ICMP = 3
-- the socket families
socket.IPV4 = 1
socket.IPV6 = 2
+socket.UNIX = 3
-- the socket events, @see tbox/platform/socket.h
socket.EV_RECV = 1