[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Q about ip address and node id relationship
Hi all,
I have two Q.:
1)if I have a packet sent to a node n (i.e I have n_id), how to find the
ip address of n(i.e. how to obtain n's ip address from n id)?
2) in Marc Greis's ping example, there is the code line(recv in
ping.cc):
hdrip->src_ >> Address::instance().NodeShift_[1]
what does this line do? and where to find a reference doc. about
NodeShift?
thanks in advance
--
Ghassan CHADDOUD
LORIA/INRIA-Lorraine, Campus Scientifique BP 239
54506 Vandoeuvre-les-Nancy CEDEX
tel (work): +(33)3.83.59.20.48
Fax : +(33)3.83.27.83.19