add readme

This commit is contained in:
funshine 2014-10-13 21:03:48 +08:00
parent 3e93fbd5f4
commit 2c1cabee75
1 changed files with 2 additions and 4 deletions

View File

@ -205,18 +205,16 @@ net module
---------------
常量net.TCP, net.UDP
net.createServer(type, secure)
net.createServer(type)
描述:建立一个服务器
typenet.TCP或 net.UDP
securetrue 或者 false表示是否为安全连接
返回net.server子模块
net.createConnection(type, secure)
net.createConnection(type)
描述:建立一个客户端
typenet.TCP或 net.UDP
securetrue 或者 false表示是否为安全连接
返回net.socket子模块
net.server module