mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-04 13:07:40 +08:00
40 lines
739 B
Markdown
40 lines
739 B
Markdown
|
## tk\_istream\_tcp\_t
|
||
|
### 概述
|
||
|
![image](images/tk_istream_tcp_t_0.png)
|
||
|
|
||
|
|
||
|
input stream base on socket
|
||
|
|
||
|
|
||
|
----------------------------------
|
||
|
### 函数
|
||
|
<p id="tk_istream_tcp_t_methods">
|
||
|
|
||
|
| 函数名称 | 说明 |
|
||
|
| -------- | ------------ |
|
||
|
| <a href="#tk_istream_tcp_t_tk_istream_tcp_create">tk\_istream\_tcp\_create</a> | |
|
||
|
#### tk\_istream\_tcp\_create 函数
|
||
|
-----------------------
|
||
|
|
||
|
* 函数功能:
|
||
|
|
||
|
> <p id="tk_istream_tcp_t_tk_istream_tcp_create">
|
||
|
创建istream对象。
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
* 函数原型:
|
||
|
|
||
|
```
|
||
|
tk_istream_t* tk_istream_tcp_create (int sock);
|
||
|
```
|
||
|
|
||
|
* 参数说明:
|
||
|
|
||
|
| 参数 | 类型 | 说明 |
|
||
|
| -------- | ----- | --------- |
|
||
|
| 返回值 | tk\_istream\_t* | 返回istream对象。 |
|
||
|
| sock | int | socket。 |
|