audrey_cid.pm

audrey_cid

SYNOPSIS

NONE

DESCRIPTION

Lib code to register with an audrey running the acid program (v2.0), and receive updates via udp 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

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

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

 audrey_cid.pm