On 16. sep. 2010, at 20.44, ligerdave wrote:

> Folks,
> 
> I would like to set my memcache instance to listen to only a list of
> given IPs.
> 
> I know you can specify an IP/interface by using -l 127.0.0.1. Is it
> possible to do something like this: -l ip1,ip2,ip3
> 
> I was trying to find its source code for stddup(), the piece dealing
> with -l argument. Does anyone know where to find it?
> 
> 

It is copied at: 
http://github.com/memcached/memcached/blob/master/memcached.c#L4384

but you may want to look at where it's used:

http://github.com/memcached/memcached/blob/master/memcached.c#L3824

Trond

Reply via email to