# ex_udp_listener.rb

Path: | ex_udp_listener.rb
Last Update: | Thu Sep 11 16:16:03 -0700 2014

# Alien Ruby RFID Library Examples

## ex_udp_listener.rb

This is a simple server that accepts connections on a UDP socket and prints out data that comes in on the connection.

An entire packet of data, up to 4096 bytes is received and then printed to the screen.

Use this example in conjunction with ex_taglist_with_UDP_notify.rb. First run this program on your local machine and then run ex_taglist_with_udp_notify on the same machine to see notification messages. Or you can simply listen on port 3988 to detect reader heartbeat messages.

Copyright 2014, Alien Technology Corporation. All rights reserved.

### Required files

alienconfig socket

[Validate]