socket connection

Please support our C advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Oct 2007
Posts: 20
Reputation: nishanthaMe is an unknown quantity at this point 
Solved Threads: 0
nishanthaMe nishanthaMe is offline Offline
Newbie Poster

socket connection

 
0
  #1
Jun 23rd, 2008
Hi all
I am developing a simple socket application which fetch a given URL from the web and save it in the local hard drive. But my internet connection goes through a proxy and I would like to know that what is the connecting URL and the port for my socket. It is ip /port of the proxy or is it ip/port of the URL

Thanks
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 251
Reputation: ssharish2005 is on a distinguished road 
Solved Threads: 20
ssharish2005's Avatar
ssharish2005 ssharish2005 is offline Offline
Posting Whiz in Training

Re: socket connection

 
0
  #2
Jun 25th, 2008
well, this question donst even make any sense, how will we know what IP and the port address you URL uses. when you enter your URL that get resolved y your DNS. If you are looking for the IP address ofthta url, try pinging to that url you will get the IP address. Apart from that port and stuff you should be know. The proxy server details in within your network and we dont know how you have implemeneted your network and no way we could gie you any IP or the details of the proxy server on your network, unless you can give us some more infromation. If you are working on a company or something ask you help desk people theyu might be knowing where the proxy server is and its complete details may be then you can bypass it.

ssharish
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 1,669
Reputation: jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of jephthah has much to be proud of 
Solved Threads: 123
jephthah's Avatar
jephthah jephthah is offline Offline
Posting Virtuoso

Re: socket connection

 
0
  #3
Jun 25th, 2008
if youre trying to connect to a URL via sockets, the IP and port you need to bind to is the URL itself, not the proxy through which you connect to the URL
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 1090 | Replies: 2
Thread Tools Search this Thread



Tag cloud for C
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC