Skip to content
ggodart edited this page Jan 1, 2021 · 1 revision

audrey_cid

See original

SYNOPSIS

DESCRIPTION

Lib code to register with an audrey running the acid program (v2.0), and receive updates via UPD messages on the LAN. will need to be invoked via user code to be activated.

TODO:

Modify the status() approach to handle more than 1 configured audrey.

INHERITS

None

METHODS

Method Description
BEGIN setup our udp filehandle for talking to audrey.
read function to be called by the user_code to check for new messages.
subscribe function to be called to request updates from audrey.
_ping_srvr function to be request a reply from audrey. used to track the status of the acid program (up/down). Not intended for use by user code (lib only)
status function to be called to request the status of the acid program (up/down)
fmt_udp_msg function to be called to format outbound messages
unfmt_udp_msg function to be called to parse inbound msg from acid into its components.
`build_srvr_list' build a list of paddr structures for udp sendto() based on the configured ip addresses.
CID_TYPE_XXXX() funtions that delineate the message types passed back and forth b/t acid client and servers. Param1 contains client port for callback; Param2 is client computer name/address

INI PARAMETERS

None

AUTHOR

UNK

SEE ALSO

None

Clone this wiki locally