Open topic with navigation

TIBCO Rendezvous® 8.7.0

# tibrvTransport_Destroy()

Function

## Declaration

    tibrv_status tibrvTransport_Destroy(
        tibrvTransport    transport);

## Purpose

Destroy a transport.

## Remarks

Programs must explicitly destroy each transport object.

Destroying a transport achieves these effects:

| • | The transport flushes all outbound data to the Rendezvous daemon.

This effect is especially important, and neither exiting the program nor calling tibrv_Close() is sufficient to flush outbound data.

| • | The transport invalidates all its listeners.

| • | Subsequent calls that use the destroyed transport return an error status.

| • | Storage for the transport object is freed.

It is illegal to destroy the intra-process transport (`TIBRV_PROCESS_TRANSPORT`); attempting to destroy it produces the status code TIBRV_NOT_PERMITTED.

Parameter | Description
`transport` | Destroy this transport.

## See Also

tibrvTransport

tibrvTransport_Create()

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Rendezvous®

Copyright © 1997-2023. Cloud Software Group, Inc. All Rights Reserved.