Re: AF_UNIX sockets problem - no error but datagram never arrives - 5 attachments



On Fri, 24 Feb 2006 14:32:02 -0600, David Zimny wrote:

Then I used the exact same socket code (except my socket names changed
from "/tmp/SktOne" and "/tmp/SktTwo" to "/tmp/sktPodserv" and
"/tmp/sktPodservCGI") in my CGI and server programs. They both create and
bind their sockets OK, and the CGI calls sendto() successfully, but the
datagram never arrives at the server. This happens even when I run the cgi
from the command line with the same user account as the server.

A take it that when you write CGI it means the CGI program is called thrue
a webserver? If that is the case then a possible reason for your
malfunctioning could be coursed by a webserver running chroot. If so
/tmp/sktPodservCGI could be placed under /chroot/tmp/ whereas the server
socket would be under /tmp

--
Hilsen/Regards
Michael Rasmussen
http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE3E80917

.



Relevant Pages