[Mono-winforms-list] No UDP broadcast messages received
sharkal
wolfgang.ginner at kapsch.net
Fri Dec 23 05:09:14 EST 2011
I could fix the problem by my own now.
The thing is, the remoteIpAddress has to be the broadcast address of the
subnet.
And the localEndPoint which i used to bind the socket has to be set to
"IPAddress.Any"
A possible way to get the subnet mask under linux with mono i found on this
page:
http://stackoverflow.com/questions/8119414/how-to-query-the-subnet-masks-using-mono-on-linux
for the broadcast address in the subnet of the ip, i also found somewhere in
google an implementation, which generates the address with the ip address
and the subnetmask.
--
View this message in context: http://mono.1490590.n4.nabble.com/No-UDP-broadcast-messages-received-tp4119202p4228037.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.
More information about the Mono-winforms-list
mailing list