提交 ecfa3d6c 编写于 作者: C clevercong

format file.

Signed-off-by: Nclevercong <lichunlin2@huawei.com>
上级 19526e32
# Socket连接<a name="ZH-CN_TOPIC_0000001181612734"></a>
- [支持设备](#section11223131205610)
- [导入模块](#s56d19203690d4782bfc74069abb6bd71)
- [权限列表](#section11257113618419)
- [socket.constructUDPSocketInstance](#section375081875219)
......@@ -130,9 +129,8 @@ bind\(address: NetAddress\): Promise<void\>
- 参数
| 参数名 | 类型 | 必填 | 说明 |
| -------- | ---------------------------------- | ---- | ------------------------------------------------------ |
| ------- | ---------------------------------- | ---- | ------------------------------------------------------ |
| address | [NetAddress](#section159132241295) | 是 | 目标地址信息,参考[NetAddress](#section159132241295)。 |
| callback | AsyncCallback\<void\> | 是 | 回调函数。 |
- 返回值
......@@ -723,7 +721,6 @@ bind\(address NetAddress\): Promise<void\>
| ------- | ---------------------------------- | ---- | ------------------------------------------------------ |
| address | [NetAddress](#section159132241295) | 是 | 目标地址信息,参考[NetAddress](#section159132241295)。 |
- 返回值
| 类型 | 说明 |
......@@ -782,7 +779,6 @@ connect\(options: TCPConnectOptions\): Promise<void\>
| ------- | ---------------------------------------- | ---- | ------------------------------------------------------------ |
| options | [TCPConnectOptions](#section13821005712) | 是 | TCPSocket连接的参数,参考[TCPConnectOptions](#section13821005712)。 |
- 返回值
| 类型 | 说明 |
......@@ -1134,7 +1130,6 @@ setExtraOptions\(options: TCPExtraOptions\): Promise<void\>
| ------- | ----------------------------------------- | ---- | ------------------------------------------------------------ |
| options | [TCPExtraOptions](#section13892555115718) | 是 | TCPSocket连接的其他属性,参考[TCPExtraOptions](#section13892555115718)。 |
- 返回值
| 类型 | 说明 |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册