[Openmcl-devel] Speaking of sockets...
ron at flownet.com
Tue Feb 9 11:30:48 PST 2021
Figured it out. MAKE-SOCKET doesn’t do pathname expansion. This works:
? (make-socket :address-family :file :type :stream :connect :passive :local-filename (namestring (pathname "~/test.sock")))
On Feb 9, 2021, at 11:15 AM, Ron Garret <ron at flownet.com> wrote:
> Why doesn’t this work?
> ? (make-socket :address-family :file :type :stream :connect :passive :local-filename "~/test.sock")
>> Error: on #<CCL::FILE-LISTENER-SOCKET #x302000E1E9BD> :
>> No such file or directory (error #2) during bind
> I thought opening a passive-mode unix-domain socket was supposed to *create* the file.
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
More information about the Openmcl-devel