Subject: Re: Can I connect to a local socket?
From: rpw3@rpw3.org (Rob Warnock)
Date: Tue, 16 Sep 2003 07:24:53 -0500
Newsgroups: comp.lang.lisp
Message-ID: <c2ydnXVA2bqInPqiXTWc-w@speakeasy.net>
Greg Menke  <gregm-news@toadmail.com> wrote:
+---------------
| Charlie Burrows <charlie.burrows@riskdecisions.com> writes:
| 
| > Thank-you. I'm using CLISP, it's (socket:socket-connect port) must have
| > a port number. I can't see anything about local sockets in the CLISP
| > documentation but maybe I have just missed it. I guess I'm going to have
| > to use internet ports as I'm set on using clisp and I don't want to get
| > into FFI at this stage.
| 
| Do you mean you don't want an IP socket, but Unix Domain socket?
| Is there any particular reason why an IP socket is inappropriate?
+---------------

Security, perhaps?

Myself, I am very careful to use *only* Unix domain sockets for both
the connection between Apache and my Lisp server, and between the Lisp
server and PostgreSQL -- no IP/TCP listeners for the port scanners to
slip a wedge into. [Yes, that system sits right on the Internet...]


-Rob

-----
Rob Warnock, PP-ASEL-IA		<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607