Click here to Skip to main content
15,892,537 members
Home / Discussions / System Admin
   

System Admin

 
GeneralRe: Network Card Pin
Roger Wright29-Apr-03 7:19
professionalRoger Wright29-Apr-03 7:19 
GeneralRe: Network Card Pin
Chris Richardson29-Apr-03 14:04
Chris Richardson29-Apr-03 14:04 
GeneralRe: Network Card Pin
Robert Little29-Apr-03 20:47
Robert Little29-Apr-03 20:47 
GeneralRe: Network Card Pin
Roger Wright30-Apr-03 5:36
professionalRoger Wright30-Apr-03 5:36 
GeneralHttp connection through Proxy Pin
Sam197925-Apr-03 21:38
Sam197925-Apr-03 21:38 
GeneralRe: Http connection through Proxy Pin
Robert Little29-Apr-03 20:53
Robert Little29-Apr-03 20:53 
GeneralRe: Http connection through Proxy Pin
Anonymous30-Apr-03 0:36
Anonymous30-Apr-03 0:36 
GeneralRe: Http connection through Proxy Pin
Robert Little1-May-03 5:23
Robert Little1-May-03 5:23 
There is nothing special about the port. It is just a commonly chosen port of 443 for HTTPS and 80 for HTTP. If you want to make a non-secure connection then you make your connection and don't negotiate an SSL session. Of course the server you connect to must be expecting a non secure connection, which most do.

Let's say you want to connect to codeproject from your browser. If you were to connect directly from your application, it would open a TCP connection via port 80 and send something similar to the following.

GET / HTTP/1.1
Accept: */*
Accept-Language: en-us
User-Agent: Your application name here
Host: www.codeproject.com

What will be returned will be the contents of the page requested. You can test this using telnet. Open a telnet session to your own server on port 80 and type the above text. End the text with two carriage returns to get the results.

Now if you wanted to do the same request via a proxy you would do something like this.

GET http://www.codeproject.com/ HTTP/1.1
Accept: */*
Accept-Language: en-us
User-Agent: Your application name here
Host: www.codeproject.com

There is very little difference. In this case you supply the host and protocol portion of the URL instead of just the path. This is because the proxy needs to know the name of the host you want to connect to. Instead of connecting to port 80 on codeproject you would connect to port 80 on your proxy server. Of course your proxy could use any port you wish. Port 80 is the standard, but it could easily be 8080 or some other port of you chosing.

If your proxy understands other protocols such as https, ftp, gopher, or a custom protocol then you could use those by simply modifying the URL passed.


GeneralProcess State Models Pin
PitoPR25-Apr-03 12:44
PitoPR25-Apr-03 12:44 
GeneralYet Another Mystery in Win2K Server Pin
Roger Wright24-Apr-03 8:04
professionalRoger Wright24-Apr-03 8:04 
GeneralRe: Yet Another Mystery in Win2K Server Pin
J. Dunlap24-Apr-03 8:40
J. Dunlap24-Apr-03 8:40 
GeneralRe: Yet Another Mystery in Win2K Server Pin
Roger Wright24-Apr-03 8:51
professionalRoger Wright24-Apr-03 8:51 
GeneralRe: Yet Another Mystery in Win2K Server Pin
Sarvesvara (BVKS) Dasa28-Apr-03 19:40
Sarvesvara (BVKS) Dasa28-Apr-03 19:40 
GeneralRe: Yet Another Mystery in Win2K Server Pin
Roger Wright28-Apr-03 22:25
professionalRoger Wright28-Apr-03 22:25 
GeneralRe: Yet Another Mystery in Win2K Server Pin
jhaga29-Apr-03 7:41
professionaljhaga29-Apr-03 7:41 
GeneralRe: Yet Another Mystery in Win2K Server Pin
Roger Wright29-Apr-03 8:22
professionalRoger Wright29-Apr-03 8:22 
GeneralRe: Yet Another Mystery in Win2K Server Pin
jhaga29-Apr-03 8:46
professionaljhaga29-Apr-03 8:46 
GeneralRe: Yet Another Mystery in Win2K Server Pin
Roger Wright29-Apr-03 9:46
professionalRoger Wright29-Apr-03 9:46 
GeneralRe: Yet Another Mystery in Win2K Server Pin
jhaga29-Apr-03 10:19
professionaljhaga29-Apr-03 10:19 
QuestionHow to get the process path by using API:"NtQuerySystemInformation" Pin
Artas_net24-Apr-03 0:26
Artas_net24-Apr-03 0:26 
GeneralNTOSKRNL Accesses the Internet Pin
Roger Wright23-Apr-03 19:28
professionalRoger Wright23-Apr-03 19:28 
GeneralRe: NTOSKRNL Accesses the Internet Pin
Bruce Duncan29-Apr-03 9:09
Bruce Duncan29-Apr-03 9:09 
GeneralRe: NTOSKRNL Accesses the Internet Pin
Roger Wright29-Apr-03 9:46
professionalRoger Wright29-Apr-03 9:46 
GeneralPerformance Monitor bug in XP Pin
imon_2nd23-Apr-03 13:45
imon_2nd23-Apr-03 13:45 
GeneralInternet Explorer plugins and user rights Pin
Richard O.18-Apr-03 8:50
Richard O.18-Apr-03 8:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.