SemysConnShutdownProt

01 This function will be called as callback from the connection when it is being shut down.
02

typedef void (*SemysConnShutdownProt)(HSemysListener listener, HSemysConn conn);

03 Parameters:
  • listener: The listener handle from the SemysConnListener structure.
  • conn: The connection calling this callback.
04 This typedef is a placeholder for the actual user code provided callback function.
05 When receiving this callback, the user may drop the connection handle and all associated data with it.
After this callback no more will follow from this connection and it is furthermore not available anymore.
06 Typical reasons for receiving this callback are:
  • The incoming connection was lost. Incoming connections (that were created by a server) can not be reestablished on the server side. The client has to reconnect.
  • The outgoing connection did not have the "reconnecting" switch set. Outgoing connections that don't have this switch set will shut down automatically after they lost the connection or the connection never could be established, even after some retries.
07 Global Lock: Required
Reference: SemysTransporter.h
Implementation: Semys Library
See Also: Transporter Sub-System

Goto: Main Page; This page is part of the Semys software documentation. See About: Documentation for details.