Changed from fifo to sockets