SemysServerConnRequestProt

01 This function will be called as callback from the server when an incoming connection request was received.
02

typedef void (*SemysServerConnRequestProt)(HSemysListener listener, HSemysServer server, HSemysConn conn);

03 Parameters:
  • listener: The listener handle from the SemysServerListener structure.
  • server: The server calling this callback.
  • conn: The incoming connection.
04 This typedef is a placeholder for the actual user code provided callback function.
05 The user has to set a valid listener structure of the connection to accept it. If SemysConnSetListenerProt() is not called, the connection will be rejected (closed).
06 Global Lock: Required
Reference: SemysTransporter.h
Implementation: Semys Library
See Also: Transporter Sub-System, SemysConnSetListenerProt()

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