Hi, I've changed the code to have two endpoints. Still I couldn't test it properly. I have two network interfaces in my machine. But still couldn't connect them to two networks :). I tried using loop back interface and wireless interface. But not sure this is a real network scenario to test.
Thanks, Supun.. On Wed, Nov 11, 2009 at 5:19 AM, Supun Kamburugamuva <[email protected]>wrote: > Hi Oleg, > > Thanks for the tip. I'll add several endpoints to IOReactor to listen and > try to see weather it is working. > > Thanks, > Supun.. > > > On Wed, Nov 11, 2009 at 2:56 AM, Oleg Kalnichevski <[email protected]>wrote: > >> Hubert, Eric wrote: >> >>> Hi Supun, >>> >>> >>> I think your understanding is correct and there is currently no way to >>> address this requirement (if it is one). >>> >>> >>> The ListeningIORector of HTTP Core NIO is used with one ListenerEndpoint. >>> I guess one would need to extend HttpCoreNIOListener to support multiple >>> ListenerEndpoints. Actually Oleg and Asankha should know much better. I have >>> never thought about this… I think the Http Core NIO Lib, should be able to >>> cope with this. >>> >>> >> One can actually open multiple listener endpoints on a single >> ListeningIORector and bind them to different physical interfaces. One thing >> I am not sure, though, if all of them can listen on the same port. >> >> Oleg >> >> >> >> >>> Regards, >>> >>> Eric >>> >>> >>> >>> ------------------------------------------------------------------------ >>> >>> If I understood the configuration correctly it can bind to one >>> interface/network address or all of them. Is there a way to bind to >>> something like to 2 out of 4 interfaces? >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > > -- > Software Engineer, WSO2 Inc > http://wso2.org > supunk.blogspot.com > > > -- Software Engineer, WSO2 Inc http://wso2.org supunk.blogspot.com
