| View previous topic :: View next topic |
| Author |
Message |
Murrawhip
Joined: 21 Dec 2010 Posts: 58
|
Posted: Sun Sep 18, 2011 6:29 am Post subject: Client number |
|
|
In add_listener and remove_listener there's a POST parameter that contains a client ID. When do these get reused?
Are they simply reset on icecast restart?
Is there any maximum value I'm going to run into if I keep the icecast server up for months?
If someone connects, disconnects, then reconnects, are they given their old ID, or a new one?
Thanks for your time. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Sep 18, 2011 2:18 pm Post subject: |
|
|
on a restart of icecast, the allocation is reset so you should flush out any allocated IDs. The max number is based on the maximum allowed on the machine icecast running on, ie 2^32 for a 32 bit machine or 2^64 for a 64bit machine. It could be made to be consistent to 64 for all setups without any trouble.
karl. |
|
| Back to top |
|
 |
|