I need to get the node that an agent reside when I write the recv() function of an agent, how could I do?