1 Star 0 Fork 340

seasky100 / awtk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
socketpair_t.md 738 Bytes
一键复制 编辑 原始数据 按行查看 历史
lixianjing 提交于 2019-12-11 16:21 . regen docs

socketpair_t

概述

socketpair

函数

函数名称 说明
tk_socketpair 生成两个socket句柄。两者可以模拟客户端和服务器通信。

tk_socketpair 函数


  • 函数功能:

生成两个socket句柄。两者可以模拟客户端和服务器通信。

  • 函数原型:
int tk_socketpair (int* socks);
  • 参数说明:
参数 类型 说明
返回值 int 小于0表示失败。
socks int* 由于返回生成的socket句柄。
C
1
https://gitee.com/seasky100/awtk.git
git@gitee.com:seasky100/awtk.git
seasky100
awtk
awtk
master

搜索帮助