[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where is getChannel() feature in ANTS 2.0



> 
> Hello,

hi,

> I'm trying to get informations about the network interface (and more 
> precisely the IP address) that received a given Capsule.

ANTS 2.0 will only listen on a single ip/port for packets, so...

> I saw there was 
> a ChannelObject holding the informations i need in ANTS 1.3.x, but i 
> can't find anything similar in ANTS 2.0 !? The "channel" member and 
> getChannel() object also disappeared ... Is there a reason for this 
> deletion? should i just consider this as an obsolete feature or as a 
> not-yet-reimplemented one ?

It won't be reimplemented here, so, yeah i guess its obsolete.

> If getChannel is obsolete, how can a capsule 
> know the effective IP address which received it (rather than the 
> "default" active address of the node: Node.getAddress() isn't 
> appropriated in my case...)

It can't, its implementation dependent and not a requirement.  For
example, capsules received through the anetd/stdin channel will not have
this information.  Doesn't the capsule's active source/destination
addresses have enough information for you?

> Thanks in advance

tim stack




[ Janos ] [ OSKit ] [ Network Testbed ] [ Flick ] [ Fluke ]
Flux Research Group / Department of Computer Science / University of Utah