The receiving node should be configured to work on certain identifiers. On a CAN bus all the nodes are synchronized and they always listen the CAN_BUS, even the transmitting node listens to the CAN_BUS. When a message with an identifier that the receiver is configured for, is broadcast on the bus, the receiver will know and act upon it.
thanks for your reply but recently i came to know about AMR and ACR registers. well through this only we can set the the identifiers and check if it matches or not.