CONN(3)

PACKAGE
conn - Routines to manipulate connections

PURPOSE
These routines are meant to provide a high level mechanism to create and accept connections, complete with protocols, callback functions and security mechanisms.

LIBRARY
karma

LINK WITH
-lkarma

FUNCTIONS

conn_initialise
    Initialise the package.

conn_register_server_protocol
    Register server protocol support.

conn_register_client_protocol
    Register client protocol support.

conn_get_channel
    Extract the channel object associated with a connection.

conn_get_datagram_channel
    Extract the datagram channel associated with a connection.

conn_attempt_connection
    Attempt connection.

conn_close
    Close connection.

conn_become_server
    Become a Karma server.

conn_get_num_serv_connections
    Get number of server connections.

conn_get_num_client_connections
    Get number of client connections.

conn_get_serv_connection
    Get a numbered server connection.

conn_get_client_connection
    Get a numbered client connection.

conn_get_connection_info
    Get the arbitrary information for a connection.

conn_controlled_by_cm_tool
    Check if controlled by CM tool.

conn_get_connection_module_name
    Get the name of the module at the other end of a connection.

conn_get_connection_remote_addr
    Get the address of the machine at the other end of a connection.

conn_register_cm_quiescent_func
    Register callback for quiescence.

conn_extract_protocols
    Get supported protocols.

conn_show_connections
    Show all connections.

conn_PROTO_exit_schedule_func
    Exit schedule function.

conn_PROTO_client_validate_func
    Client connection validate event callback.

conn_PROTO_open_func
    Connection open event callback.

conn_PROTO_read_func
    Connection read event callback.

conn_PROTO_close_func
    Connection close event callback.

conn_PROTO_quiescent_func
    Quiescence callback.

AUTHOR
Richard Gooch (rgooch@atnf.csiro.au)

AVAILABLITY
The Karma Distribution is available for anonymous ftp from: ftp://ftp.atnf.csiro.au/pub/software/karma/ ftp://wuarchive.wustl.edu/graphics/graphics/packages/karma/ ftp://ftp.pwr.wroc.pl/pub/karma/ The Karma Home Page is: http://www.atnf.csiro.au/karma/