Hi, friends, i use UDPBasicApp and i have a question about the routingTable, i use the the getSelfAddress() function to get the host address.
IPvXAddress UDPBasicAppCam::getSelfAddress() const
{
return routingTable->getRouterId();
}
but if I put the getSelfAddress() function in initialize() function, at the begening, it returns a <unspeci> address. but later it works well.
if i put the getSelfAddress() in processStart() function, it works well always.
Can someone help me to explain it?