dpkg --add-architecture i386
apt-get update
apt-get install ia32-libs apt-get install gcc-multilib
apt-get install xinetd
touch /etc/xinetd.d/test-xinetd
service test { disable = no socket_type = stream protocol = tcp wait = no user = root bind = 0.0.0.0 server = /root/test type = UNLISTED port = 5566 }
service xinetd restart nc localhost 5566
xinetd example