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 220.127.116.11, 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 18.104.22.168 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
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL