Use sysread and syswrite to "talk" through the socket instead.
In reply to Re: Socket Server without forking? by salva in thread Socket Server without forking? by Gorby