Destroying a Listener

A listening transport continues receiving inbound messages indefinitely, until the program destroys the listener event (or its supporting objects).

Destroying a listener’s transport or event queue invalidates the listener event; inbound messages specified by the event no longer arrive. An invalid listener cannot be repaired; the program must destroy and re-create it.