PDA

View Full Version : Broadcast information from server to clients



Wabiloo
January 11th, 2005, 06:55 AM
Hi!

I'm trying to create a jukebox application with a server/client interface.
The server would be running Winamp, with the Media Library in full screen.
Every time Winamp changes track, the server would somehow broadcast the information on the (local) network

A number of clients would then be able to listen to the broadcast and react accordingly (probably display an updated HTML page)

I'd like that broadcasting to be "blind", ie. I don't want to have to manually register the clients with the server, first because I don't know in advance how many clients there will be, secondly because all the clients use DHCP to get their IP.

Has anyone got any idea how to implement this?

Promixis
January 11th, 2005, 07:19 AM
Registering clients is probably the best way...and then use lua socket.

Windows can broadcast messages across networks but I am not sure how that exactly works.

NetRemote already is doing mostly what you are talking about....

Wabiloo
January 11th, 2005, 07:40 AM
Registering clients is probably the best way...and then use lua socket.

As i said, unless I can find a way to do that automatically, I don't want that solution, since the IP addresses change on a regular basis...


NetRemote already is doing mostly what you are talking about....

Ah, I didn't think about that. I'll have a look.