Re: UDP socket with multiple ports



Hi Kevin,

That article looks interesting, thanks!

Best regards,
Robin Theilade

"Kevin Spencer" <kevin@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:O4dJQZzeGHA.2456@xxxxxxxxxxxxxxxxxxxxxxx
Here's a great MSDN article about setting up a reliable UDP broadcast
(using only one port for many clients):

http://msdn.microsoft.com/msdnmag/issues/06/02/UDP/

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

The man who questions opinions is wise.
The man who quarrels with facts is a fool.

"Robin Theilade" <nospam.robin.theilade.nospam@xxxxxxxxxxxxxxxx> wrote in
message news:SNebg.12$%J5.1@xxxxxxxxxxxxxxxxxx
Hi Vadym,

You're probably right about that.

I was going to lookup the DirectPlay you mentioned when I found this FAQ
entry http://www.thezbuffer.com/articles/387.aspx. I guess I'll have to
go with the multiple sockets solution.

Thanks for the help.

Best regards,
Robin Theilade

"Vadym Stetsyak" <vadym_s@xxxxxxx> wrote in message
news:eFdvtDpeGHA.3484@xxxxxxxxxxxxxxxxxxxxxxx
Hello, Robin!

RT> You're right about that, but still it is not unusual that someone
RT> builds some kind of proxy and my guess was that the .NET framework
RT> already such a class to handle multiple ports. Consider the
RT> opposite case where you have serveral clients; here the Socket class
RT> supports multicast to send the same data to all the clients. I know
RT> that it is not interely the same but it proves that the Socket class
in
RT> special cases can handle multiple addresses. So it was just a small
RT> hope.

Actually multicasting is also happening on single address, multicast
address :8-). So, there is still
host/port couple out there.

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com






.



Relevant Pages

  • Re: Multicast problem..
    ... When I run 2 or more clients on ... multicast address and port for both of them as ... >> But the receiving clients are not receiving all the messages. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: UDP socket with multiple ports
    ... only one port for many clients): ... RT> opposite case where you have serveral clients; here the Socket class ... RT> supports multicast to send the same data to all the clients. ...
    (microsoft.public.dotnet.framework)
  • Re: Multicast question.
    ... I think multicast would be... ... "Naveen Mukkelli" wrote in ... > the subsequent clients. ... > ip and port number. ...
    (microsoft.public.dotnet.languages.csharp)
  • Multicast question.
    ... When I run 2 or more clients on the same ... the first client application is receiving multicast messages but not ... multicast address and port for all the clients as ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: adding machine to domain with NATed IPs
    ... sounds that the DCs are not reaching the clients ... weight 100, port 389, target srv5.mydomain.local ...
    (microsoft.public.windows.server.active_directory)