# ex_discovery.rb

Path: | ex_discovery.rb
Last Update: | Thu Sep 11 16:15:50 -0700 2014

# Alien Ruby RFID Library Examples

## ex_discovery.rb

You can use the reader‘s UDP Heartbeat Message to discover readers on your LAN. This program listens for a heartbeat, parses the XML data therein and extracts information about the reader. Using a technique like this, you can determine the IP address of each active reader on your LAN. This is handy when your readers are using DHCP and you don‘t know what IP address they get!

Copyright 2014, Alien Technology Corporation. All rights reserved.

### Required files

socket rexml/document

[Validate]