![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Feb 2005
Posts: 1
Rep Power: 0
![]() |
C Proxy HELP!!!!!
I am desperate!!!!! anyone that can help it is much appreciated. ok i just need to:
Implement a simple proxy web server that does the following: accept a GET message from a browser and forward it to the web server, receive HTTP response from the server and send it to the browser. Ive got the pseudocode: while (1) accept request from any client parse info from client open connection to web server forward HTTP request to web server wait till you get HTTP response forward HTTP response to client. close connection to client. i just need to turn this into actual C code. I am stumped, i cant think of where to begin.. |
|
|
|
|
|
#2 |
|
Programming Guru
![]() |
Begin with googling for a tutorial on "Sockets in C"
__________________
|
|
|
|
|
|
#3 | |
|
Programmer
|
The easiest way to begin...
bool loop = 1; While(loop == 1) { } yep, thats where you being...as for the rest http://c.ittoolbox.com/browse.asp?c=...winsock%2Ehtml do some winsock
__________________
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|