Ace_TCP_Stream_Current_Packet_Get()
Abstract
Gets the current packet that the specified stream is on.
Syntax
Ace_TCP_Stream_Current_Packet_Get (stream_ptr)
| Argument | Type | Description |
|---|---|---|
stream_ptr |
AceT_TCP_Stream * |
TCP stream of interest. |
Return Type
AceT_Packet *
The current packet of the stream.
Header
ace_client_api.h
Example
// If the packet still has data, it should be the current packet
if (Ace_TCP_Stream_Current_Packet_Get (stream_ptr) != pk_pt
{
...
}