Not built in, but you can use the FFI. That's what the db collection
does: the relevant code is 'unix-socket-connect' in
db/private/generic/socket.
I'd be happy to move the code out into a separate library if it would be
useful.
Ryan
On 01/27/2013 07:10 PM, Diogo F. S. Ramos wrote:
Is there support for unix domain sockets in Racket?
I found some e-mails talking about it in 2007 but I couldn't find any
specific implementation in the documentation.
There is however talk about it in the db library.
6.1 Local Sockets for PostgreSQL and MySQL Servers
PostgreSQL and MySQL servers are sometimes configured by default to
listen only on local sockets (also called “unix domain sockets”). This
library provides support for communication over local sockets on Linux
(x86 and x86-64) and Mac OS X. [1]
[1] http://docs.racket-lang.org/db/notes.html
____________________
Racket Users list:
http://lists.racket-lang.org/users
____________________
Racket Users list:
http://lists.racket-lang.org/users