The example created an IPC channel to the socket server and gets
the information for the protocol IrTinyTPand then
resolves a machine name to a TSockAddress. It creates
channel to the socket server by RSocketServ:: Connect()and gets the protocol information by RSocketServ:: FindProtocol(). The machine name is resolved by RHostResolver::GetByName().
Click on the following link to download the example: IRDevice.zip
Click:example: browse to view the example code.
RSocketServ TProtocolDesc TProtocolName
RHostResolver TNameEntry THostName
Command is given in the example through its menu option.