|
From: <php...@li...> - 2008-10-21 14:40:18
|
Hi, FreeBSD uses the "Nagle Algorithm" for local TCP sockets. Since PHP has no API to set NDELAY, local TCP socket communication is useless on BSD. A test program which should reproduce this bug is here: => http://lists.freebsd.org/pipermail/freebsd-bugs/2006-April/018144.html If you want to use a local "Unix Domain Socket" channel, you must define a procedure which returns the socket string (e.g.: /tmp/socket). If you return a string, a Unix Domain Socket is used, if you return a number, a local TCP socket is used. See the last 3 lines of the Mono.inc for an example. Regards, Jost Boekemeier |