[Techtalk] Perl Sockets Communication

Sean McAfee mcafee at transmeta.com
Mon Aug 20 18:25:22 EST 2001


Kai MacTane <kmactane at GothPunk.com> wrote:
>I'm trying to write a pair of Perl programs, one to run as a CGI script 
>from a Web server, and the other to run as a daemon process. I'd like them 
>to communicate via a local Unix socket. I'm essentially following the 
>recipe in the Camel Book, page 353. From the logging I've been able to 
>perform, it seems that the client script connects to the daemon, but no 
>information is passed through the socket.

>Can anyone help? I can post code if desired.

I'd be happy to take a crack at it, but I don't own the Camel Book, so I'll
need to see the code.  (My officemate's copy must be a different edition;
page 353 is the middle of a discussion on "use overload".)


--Sean




More information about the Techtalk mailing list