facil.io
facil.io copied to clipboard
Support for redis UNIX sockets
Maybe this is yet another documentation issue, but I'm curious how to connect a facil.io application to a redis socket file - my redis does not have "a port". Is that already supported?
Hi @dertuxmalwieder ,
This might be a documentation issue, but it might also be an API issue. I was planning to re-visit the API for fio_connect
in 0.8.x and see if I can make it more convenient.
The current documentation indicates that when the port String "0"
(or NULL
) is used, facil.io will attempt to resolve the address to a Unix socket. This might or might not work.
I know for a fact that I used fio_connect
to connect to Unix sockets before, so it should work.
Good luck.