xbee pro S3b master slave communication

hello all, I am trying to send data from one xbee pro s3B to another . I have a pair of (xbeepro s3b , xbee shield, arduino mega board) I have configured xbee through x-ctu. I am sending simple serial code from one system and trying to receive the data on the other but I am unable to establish "chat". serial communication from board to computer and from computer to board is working fine.

I have a pair of (xbeepro s3b , xbee shield, arduino mega board)

Links, not vague hand-waving...

I have configured xbee through x-ctu.

How? That matters a great deal.

I am sending simple serial code from one system and trying to receive the data on the other but I am unable to establish "chat".

With what code?