c# - UDP multicasting with IPAddress.Any -


good day all

i going through msdn website try familiarize mystelf multicasting , how works. i'm wondering: when 1 use

ipaddress.any

it refers commented out line this link

//ipaddress localip = ipaddress.any;

i have seen on multiple occasions, ipaddress.any mean?

update

enter image description here

a quick googling reveals:

what's ipaddress.any - msdn forums:

ipaddress.any listen on ip addresses assigned pc. example, if connected network via wireless , wired, there 2 ip addresses assigned. means listen requests on both ip addresses. if take ip of wired receive requests nic.

as can see, specifying address listen on (effectively, equivalent ipaddress.parse("0.0.0.0")) , not specific multicasting. see how udp multicast across local network in c#? example of latter's implementation.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -