[Solved] Send data to a specific Xbee Module

Hello everyone.
I have 3 xbee Pro S1 modules, One acting as Master, the other 2 as slaves.
I managed to send and recieve data using two xbee modules. My problem is how to send data to a specific xbee Slave? not both of them at the same time.

for recieving data i use this code:

while (Xbee.available()) {
c=Xbee.read();
Serial.print(c);
}

for sending i use this :

for (int i=0;i<16;i++)
Xbee.write(message*);*
but i don't know how to adress a specific xbee slave.
Any help is appreciated. Thank you in advance

i solved the problem. Thank you

How did you solve this problem? , If you don't mind me asking :slightly_frowning_face: