Hi there !

I've found in TODO:

* memcached to listen on more than one IP.  mailing list request.

and created a patch.
It allows to listen both on one unix socket and multiple tcp/ip sockets.
Option -l can be repeated and may contain port number so

./memcached -l 127.0.0.1:1234 -l 127.0.0.1:1235

will cause memcached to listen on both sockets.
There is MAX_LISTEN_CONNS constant (in memcached.h) that limit number of 
listen sockets.
Also -N option is introduced that disable network support (using unix 
socket doesn't disable networking any more).

How about applying it ?

Regards,
Wojtek

Attachment: multilistensocket.patch
Description: Binary data

Reply via email to