用户工具

站点工具


reference:library:ethercard:clienttcpreq

clientTcpReq()

描述

准备一个TCP请求。

语法

clientTcpReq ( *result_cb, *datafill_cb, port)

参数

result_cb:指向回调函数处理TCP结果

datafill_cb:指向回调函数处理TCP数据净荷

port:远程TCP/ IP端口连接至

注释

返回值提供请求的标识,以允许多达7并发请求

返回

TCP / IP会话ID unit8_t(0-7)

返回上一级

reference/library/ethercard/clienttcpreq.txt · 最后更改: 2023/06/07 04:24 由 127.0.0.1