Im Trying to open a socket in my application. And everything goes well on the emulator. but when trying to test it on the devices it gives me the error -5120. i faced this error before in the http client, but i descoverd that the error caused by the proxy settings of the IAP im using, and i solved it by providing the CHttpsession with the proxy settings (hard coded). but now in sockets, i cant solve this issue, i searched all the forum for providing the RConnection object with the proxy settings, but i didnt find anyone anywhere talking about it. can anyone help me in this issue ????????????????