A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Sockets and Internet Protocols
Multicaset address not getting validate properly.
Joined: Jan 01, 2006
Aug 24, 2011 02:59:02
InetAddress aa = InetAddress.getByName("225.0.0"); aa..isMulticastAddress()
In above code snippet the "isMulticasAddress()" method is returning true for the Address 225.0.0 , actually it should return false as per our understanding ,it would be great if anyone of you let me know whether this is a correct behavior or not.
It is sorta covered in the
JavaRanch Style Guide
subject: Multicaset address not getting validate properly.
server side validation
== and equals
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014