Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 1,415
Registered: ‎07-30-2008
My Device: Not Specified

Re: How to create socket connection under proxy?

Generally a socket connects to a host, its function as proxy or not is a level above that.

So your socket makes TCP connection to some host but fact it is proxy is not

relevant to socket itself. Usually you would need to implement the http or whatever


Regular Visitor
Posts: 1
Registered: ‎05-03-2011
My Device: BlackBerry 5.0 and 6.0 API
My Carrier: BlackBerry 5.0 and 6.0 API

Re: How to create socket connection under proxy?

[ Edited ]

Yes I have to re write HttpConnection... because I need a callback interface that will track the progress/status of http request. Since there is no such functionality available in HttpConnection implementation, I am rewriting this class its almost completed. However, I am facing problems with proxy connections on the SocketConnection.


So please let me know how and where to specify the proxy information in the SocketConnection


Thanks in advance.