Ace_TCP_Stream_Destroy()
Abstract
Destroys a TCP stream.
Syntax
Ace_TCP_Stream_Destroy (stream_ptr)
| Argument | Type | Description |
|---|---|---|
stream_ptr |
AceT_TCP_Stream * |
TCP stream to be destroyed. |
Return Type
void
No return value.
Header
ace_client_api.h
Example
// 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);