users@grizzly.java.net

easiest method for one UDPSelector listening on multiple ports

From: Radim Kolar SF.NET <hsn_at_sendmail.cz>
Date: Tue, 23 Oct 2007 19:05:24 +0200

is easiest method how to make one udpselector instance listen on multiple
ports something like this?

Controller ct=new Controller();
sh=new UPDSelectorHandle();
sh.setSelector(Selector.open());
/* now register channels */
sh.register(channel1,READ);
sh.register(channel2,READ);
ct.addSelectorHandler(sh);