Thanks for the reply. Actually I want one way communication. ie I want to send commands to a dumb hardware which can only receive IR command and perform accordingly. like a TV. the hardware is a switcher. here the connection is not established as the switcher can't reply back. please help the link you have provided is not working. It is showing the following "Location Cannot Be Found We apologize for the inconvenience, but the location you are seeking cannot be found. If you are looking for a particular document, please try one of the following areas: ...." Rabindra -- modified at 23:49 Sunday 29th October, 2006