-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

tags 344473 + unreproducible
thanks

hi,

On Thu, Dec 22, 2005 at 03:32:19PM -0600, Tom Kaitchuck wrote:
> Contrary to the man page the -R option is currently required to make the
> replay server work. If -R is not specified it is supposed to default to
> 0. It does this. However contrary to documentation 0 means NOBODY is
> allowed to connect, instead of EVERYBODY is allowed to connect. This is
> very frustrating and breaks many scripts. 

im sorry to say that im unable reproduce this behavior, lets look at what ive
tried:

 [EMAIL PROTECTED]:~$ streamripper http://66.28.68.70:8005 -r -R 0
 [runs]

now, lets connect the first client:

 [EMAIL PROTECTED]:~$ mplayer http://localhost:8000 | grep Starting
 Starting playback...
 <works>

and again, lets start a second and third client from another host:

 screen -S stream1
 [EMAIL PROTECTED]:~$ streamripper http://192.168.1.1:8000
 Connecting...
 <rips>

 screen -S stream2
 [EMAIL PROTECTED]:~$ streamripper http://192.168.1.1:8000
 Connecting...
 <rips> 

lets start it without -R:

 [EMAIL PROTECTED]:~$ streamripper http://66.28.68.70:8005 -r

now lets start the first client again:

 [EMAIL PROTECTED]:~$ mplayer http://localhost:8000 | grep Starting
 <runs>

and the second:
 
 [EMAIL PROTECTED]:~$ mplayer http://localhost:8000
 Connecting to server localhost[127.0.0.1]:8000 ...
 <stops over here>

this is imho perfectly right, as the manpage tells us:

 In  addition  to creating a relay server, you can also control how many
 clients are allowed to simultaneously connect.  The default is 1 client, but if
 you specify the -R option you can increase this number to <num_conn> clients.
 If <num_conn> is set to 0, the number of connections is limited only by your
 processor and network speed.  The -R option has no effect if -r was not used to
 create a relay stream.

without -R, the replay server defaults to 1 client, with 0, everybody is
allowed to connect. 

bye,
    - michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDqyTlEFV7g4B8rCURAtr6AJ9yEaNWgNgPUS04R+zU3jp2Q8yc7wCgioIz
ZJP70Kn0l62uFuTZwcPYULA=
=o/xL
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to