Dear Vijitha Kumara,
Many thanks for your reply.
Then to whom you are sending the message ?
The message is to sent to another machine in the network, The start machine has the IP address of the destination machine.
BTW, what does the "sending a message" mean in your context ?
Sending message means a text
string(message) is sent from start machine which would be displayed in a window at the destination machine.
Eg. Imagine using the net send command in windows, where you send a message and that message is displayed at the destination machine.
Kind regards,
Hardik