ConnectPort X4 simple gateway app

Greetings, I need to use the X4 as a “as simple as can be” gateway between ethernet and devices on the ZigBee network to send short commands to the device and receive its response, basically a socket listening on the ethernet communicating with a device. Could someone point me to an existing or sample app? Many thanks!
Stephan

Check out Zmatrix on the wiki: http://www.digi.com/wiki/developer/index.php/Zmatrix

If you need something slightly more complicated, look at the XIG gateway.
http://code.google.com/p/xig/

This will be updated soon with more protocols, e.g. udp