Kali Linux

compatible with IA32 architecture

Add architecture

dpkg --add-architecture i386

Update repository

apt-get update

Install library

apt-get install ia32-libs
apt-get install gcc-multilib

xinetd

Install xinetd

apt-get install xinetd

Configurate

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