Hi Slava,

Slava Zimine wrote:

> I wish to ask the java developpers here, what are the places on the inet
> where they go to look if a java package for a specific  problem exists.
> (like freshmeat.net generic resource)

I use Google for this... :-)


> for example.  i'm looking for a class  wich matches an IP adress against
> a network/mask  adress.  I'm sure somebody did this. 

Well, but this one's simple:

if ( (ip&mask) == network ) {
  // match
}
else {
  // mismatch
}


cu,

   Raffi


-- 
                       My opinions may have changed,
                     but not the fact that I am right!

Raffael Herzog - [EMAIL PROTECTED] - http://www.raffael.ch -- ICQ #67961355

Reply via email to