Ace_TCP_Stream_Destroy()
摘要
销毁一个 TCP 流。
语法
Ace_TCP_Stream_Destroy (stream_ptr)
| 参数 | 类型 | 说明 |
|---|---|---|
stream_ptr |
AceT_TCP_Stream * |
待销毁的 TCP 流。 |
返回类型
void
无返回值。
头文件
ace_client_api.h
示例
// If there was an error we want to report a message.
// The End of stream error might just occur because there were retransmissions
// so the original number of packets is greater than the actual number of packets
// in the message.
Ace_Buffer_Destroy (buffer_ptr);
Ace_TCP_Stream_Destroy (tcp_stream_ptr);