PDA

View Full Version : Current Number Of Connections


saveth
07-08-2007, 09:59 PM
I'm putting together a mp3 player and want to monitor how many people are using it at any given time so I was wondering if there is a method to find the current number of connections.

Thanks,
Saveth

CyanBlue
07-08-2007, 10:12 PM
Um... Isn't SWF running in the client-side??? How can it count the connection if that's the case???
The only thing I can think of is to make a call to the server whenever the app is running so that a server side script can get that number and count the connection based on that data or something similar to that...

saveth
07-08-2007, 10:22 PM
That's all I needed to know. I'll just setup a .NET WebService call to handle this. Hopefully it will not hog too much bandwidth doing that many calls to the server.

CyanBlue
07-08-2007, 10:29 PM
Wait... I honestly did not know I am in Flex forum... and I am no good with Flex... So, there is a chance where I might be totally wrong here... So, it won't hurt to wait for somebody else's opinion... ;)
(What I have mentioned should totally work though...)