i'm new to network programming but I managed to write a simple client and server and let them communicate with each other. But now I have a question about muticasting, maybe you can help me?
Multicasting: I want to do broadcasting and I read some example code on the internet but still don't understand how it works. As I can see there's one multicast address, for instance 22.214.171.124, on whicht a clients socket can bind. There's also a port assigned to that socket. After that the client can send data using this socket. Then a server process that is listening on this port / multicast-ip can receive the data, but how is that possible? Who is redirecting the data from the multicast addres 126.96.36.199 to the real ip address of the mache the server application is running on?
The actual network routers take care of this. When you bind, it tells the routers where to redirect the messages to.
Originally Posted by jeroen
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center