PDA

View Full Version : Adding startup option --protoaddr ?



Niek Jongerius
2005-08-13, 11:25
Hi,

SlimServer has an option to specify specific IP addresses to listen on for
the webserver and the CLI, but a similar option for SlimProto is missing.
I have a setup which runs several instances of slimserver.pl on one
machine, but for this to work I need port 3483 to not bind on IP_ANY.

The attached patch adds an option "--protoaddr" to the server. Does this
seem reasonable? If so, could this be considered for inclusion in the
server? The patch is against trunk SVN (#3957).

Thanks and regards, Niek.

dean
2005-08-13, 14:05
How is this different from --playeraddr?


On Aug 13, 2005, at 11:25 AM, Niek Jongerius wrote:

> Hi,
>
> SlimServer has an option to specify specific IP addresses to listen
> on for
> the webserver and the CLI, but a similar option for SlimProto is
> missing.
> I have a setup which runs several instances of slimserver.pl on one
> machine, but for this to work I need port 3483 to not bind on IP_ANY.
>
> The attached patch adds an option "--protoaddr" to the server. Does
> this
> seem reasonable? If so, could this be considered for inclusion in the
> server? The patch is against trunk SVN (#3957).
>
> Thanks and regards, Niek.
> <protoaddr.diff>
>

Niek Jongerius
2005-08-13, 22:37
> How is this different from --playeraddr?

D'oh! Now how did I miss that option? Yes, it does exactly that. Sorry for
the noise...

Niek.

dean
2005-08-13, 22:53
possibly because it's badly named and badly documented. :)

On Aug 13, 2005, at 10:37 PM, Niek Jongerius wrote:

>> How is this different from --playeraddr?
>>
>
> D'oh! Now how did I miss that option? Yes, it does exactly that.
> Sorry for
> the noise...
>
> Niek.
>
>