I am using IR winsosk() to connect to nokia 6100. We have developed an sms based application which users AT command set. Initially the connectivity was done through comm port and now we are looking for ir connectivity. I have developed an application which successfully detects the mobile but when i call connect() it gives error that "connection refused". In case of IR irda specifies that there is mapping of portnumers to services in IAS database on the server side.

Now I do not know if the mobile phone acts as a client or server with PC. Aslo to what services does it connect to PC when if it is acting as a client.

Any help (documents, phone specs, links) in this regard would be greatly appreciated.

Thanks in advance