* set autoflush to on ($| = 1) * using print and syswrite (both are garbled) * flocking the socket filehandle in the child processes