extern DIAGNOSTIC* tcp_bp_listen

(char* peer, int port,
  PROFILE_REGISTRATION* pr,
  struct configobj* appconfig)

Listen for incoming connections, bind each socket-descriptor to a connection structure, register profile-modules, and start the listener.

Documentation

Listen for incoming connections, bind each socket-descriptor to a connection structure, register profile-modules, and start the listener.

Parameters:
peer - A pointer to the hostname or dotted-quad.
port - A TCP port number.
pr - A pointer to the profile-registration structure.
appconfig - A pointer to the configuration structure that may be used for configuration purposes.
Returns:
A diagnostic structure if an error occured while opening the socket, otherwise (eventuall) NULL if the listener is terminating gracefully.
See Also:
bp_connection_create
bp_profile_register
bp_start

Home Alphabetic index



This page was generated with the help of DOC++.