Ace_TCP_Stream_Current_Packet_Get()
摘要
获取指定流当前所处的数据包。
语法
Ace_TCP_Stream_Current_Packet_Get (stream_ptr)
| 参数 | 类型 | 说明 |
|---|---|---|
stream_ptr |
AceT_TCP_Stream * |
所关注的 TCP 流。 |
返回类型
AceT_Packet *
该流的当前数据包。
头文件
ace_client_api.h
示例
// If the packet still has data, it should be the current packet
if (Ace_TCP_Stream_Current_Packet_Get (stream_ptr) != pk_pt
{
...
}