PDA

View Full Version : Multiple slimserver clients with same IP address



David Siegel
2004-10-08, 11:28
The way I tested this is by starting two different winamps on a single PC and having them both connect to a SlimServer. They both got the same stream from the SlimServer, rather than each getting an independent stream.

Looking at the perl code I can see why. It appears that SlimServer just uses the client IP address to track connections. I guess the easiest fix would be to enhance the protocol to allow specifying an client name to use, that would override the default of using the IP address as the unique client identifier.

Why do you think this is supposed to work?

David

-----Original Message-----
From: discuss-bounces (AT) lists (DOT) slimdevices.com [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of Sean Adams
Sent: Friday, October 08, 2004 02:19 PM
To: Slim Devices Discussion
Subject: [slim] Multiple slimserver clients with same IP address


This is supposed to work without any special setup. Have you found that
it doesn't?

The easiest way to test is just try with several clients behind a home
gateway router.


On Oct 8, 2004, at 8:25 AM, David Siegel wrote:

> I realize this issue has come up in the past, but I was not able to
> see any resolution. I would like to find a way for SlimServer to
> support multiple independent client streams coming from the same IP
> address. For example, a single PC might have several winamp clients
> connecting to a SlimServer playing independent music. The reason for
> this is that I want to drive more than one sound card on the PC with
> different audio.
>
>
>
> Is there a way to do this with SlimServer?
>
>
>
> Thanks,
>
>
>
> David
>

John Harding
2004-10-08, 15:17
Another reason it would be nice to specify a client name instead of using
the IP address is for clients going through a load-balanced firewall.
Separate connections made from my work machine to my SlimServer at home
typically end up with different IP addresses - This pretty much stops me
from using Remote Streaming at work, because it's such a pain to figure out
what IP address my server is seeing for me at the moment.

-John
----- Original Message -----
From: "David Siegel" <David.Siegel (AT) twosigma (DOT) com>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Friday, October 08, 2004 11:28 AM
Subject: [slim] Multiple slimserver clients with same IP address


The way I tested this is by starting two different winamps on a single PC
and having them both connect to a SlimServer. They both got the same stream
from the SlimServer, rather than each getting an independent stream.

Looking at the perl code I can see why. It appears that SlimServer just
uses the client IP address to track connections. I guess the easiest fix
would be to enhance the protocol to allow specifying an client name to use,
that would override the default of using the IP address as the unique client
identifier.

Why do you think this is supposed to work?

David

-----Original Message-----
From: discuss-bounces (AT) lists (DOT) slimdevices.com
[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of Sean Adams
Sent: Friday, October 08, 2004 02:19 PM
To: Slim Devices Discussion
Subject: [slim] Multiple slimserver clients with same IP address


This is supposed to work without any special setup. Have you found that
it doesn't?

The easiest way to test is just try with several clients behind a home
gateway router.


On Oct 8, 2004, at 8:25 AM, David Siegel wrote:

> I realize this issue has come up in the past, but I was not able to
> see any resolution. I would like to find a way for SlimServer to
> support multiple independent client streams coming from the same IP
> address. For example, a single PC might have several winamp clients
> connecting to a SlimServer playing independent music. The reason for
> this is that I want to drive more than one sound card on the PC with
> different audio.
>
>
>
> Is there a way to do this with SlimServer?
>
>
>
> Thanks,
>
>
>
> David
>