From my experience with IE at office, the LAN settings must point to a proxy
server for any internet access to succeed. I assumed that at the level of socket programming, this would make a difference. Looks like I am mistaken in that assumption.
Many utilities have a special parameter to take the proxy address in order to operate from within organizations. To help me understand this proxy business - what is the role of setting a proxy server in the IE or simple command line utilities? [clearly this is not a J programming question - so I am cross posting into General forum] On 6/20/07, bill lam <[EMAIL PROTECTED]> wrote:
I'm not sure why a firewall will dysfunction url resolution. However if you are banned from certain websites by your corporation or isp, a proxy server may be a solution. 0. google for a list of proxy server. 1. make a socket connection to a public proxy server, _not_ that local proxy server currently banning you. 2. pass the whole url, including the url's server name, in the get command. eg GET http://www.jsoftware.com/index.html instead of GET /index.html Yuvaraj Athur Raghuvir wrote: > Ok, this is what I know: > 0) I am using the J socket > 1) If there is a http proxy-server (e.g. behind a firewall), then the > direct > socket connection using sdconnect will fail since the url cannot be > resolved. > 2) This, I believe, means that in my J program, I need to establish a > connection to the local http proxy server first and then ask the proxy > server to connect to the web site of interest. > > Am I right so far? > > 3) So, I see the connection to the external world of two steps > a) connect to proxy-server first > b) pass the url to the proxy-server to resolve on my behalf > c) establish the transparency between the J Client - Proxy & Proxy - > External URL for further request-response cycles. > > So, using plain J socket api's how do I establish this? Is this part of the > request? Or is it part of the connection mechanism? > > More specifically: > The scripts I was referring to are from Oleg (httpget - from Wiki) and Raul > (httpGet - from forum archives). I want to tweak the given > implementation to > use http proxy server on the client side. > > > Regards, > Yuva -- regards, bill ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
