*nix Sockets

Dustin Sallings dustin at spy.net
Tue Aug 7 16:58:59 UTC 2007


On Aug 7, 2007, at 7:27 , Mike Axiak wrote:

> I've been using memcached for about a year now and think it's great.
> One question though, in one project I'm using it for essentially
> shared memory (with all the nice things that memcached includes).
> Anyway, to save on ports etc, is there anyway to make this a unix
> socket, rather than binding to localhost? Is there something obvious
> that I am missing?


dustintmb:~ 517% memcached -h
memcached 1.2.2
-p <num>      TCP port number to listen on (default: 11211)
-U <num>      UDP port number to listen on (default: 0, off)
-s <file>     unix socket path to listen on (disables network support)
[...]

-- 
Dustin Sallings




More information about the memcached mailing list