Click here to Skip to main content
15,891,184 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to Enable the menu item Pin
vikramkarthik13-Jun-07 18:21
vikramkarthik13-Jun-07 18:21 
AnswerRe: How to Enable the menu item Pin
SandipG 13-Jun-07 18:38
SandipG 13-Jun-07 18:38 
AnswerRe: How to Enable the menu item Pin
Hamid_RT13-Jun-07 19:28
Hamid_RT13-Jun-07 19:28 
QuestionTrying to delete a pointer to a template class with only its memory address Pin
Cyrilix13-Jun-07 16:51
Cyrilix13-Jun-07 16:51 
Questionneed help Pin
gentleguy13-Jun-07 16:49
gentleguy13-Jun-07 16:49 
AnswerRe: need help Pin
Garth J Lancaster13-Jun-07 16:58
professionalGarth J Lancaster13-Jun-07 16:58 
AnswerRe: need help Pin
Hamid_RT13-Jun-07 19:24
Hamid_RT13-Jun-07 19:24 
QuestionIntercept Outgoing Port 80 Pin
zx2c413-Jun-07 11:02
zx2c413-Jun-07 11:02 
I would like to intercept outgoing port 80 connections, redirect the http request, and inject the response back into the stream as if it had never been redirected.

Each time a user desires a web page, he transmits a request to a web server, and the web server transmits a response back to the user. Let us assume that user A is only able to access the IP address of user B, but user B is able to access the IP addresses of everybody. If user A desires a web page from someone other than user B, he will be unable to. The solution is as follows.

When user A requests a web page, instead of sending the request directly to the web server, the request is sent to user B. User B then requests the same request from the web server, and receives the corresponding response. That response is then sent back to user A.

To user A, it appears as if the request and response were completed with out having to send packets to user B. This is because all of the tunneling work goes on in the background. User A does not need to configure his web browser to connect to a certain proxy. Instead, when user A requests a certain page from a web server, a program running on user A's computer intercepts that request, does the necessary tunneling to user B, and finally injects the response back into user A's tcp stack, as if user A had himself contacted the web server.

I do not want to use a normal proxy. This all needs to occur in the background. The problem is implementing the previous paragraph. How do I tap into the windows tcp stack like that? I know that Google Desktop does it to modify search results, so it is definitely possible.

How do I do this? Sample code anyone? Sample projects? Any articles that have been written on this? Any help is welcomed.

Jason Donenfeld
ZX2C4 Software
QuestionError C2558 Pin
David Crow13-Jun-07 10:29
David Crow13-Jun-07 10:29 
GeneralRe: Error C2558 Pin
Matthew Faithfull13-Jun-07 12:12
Matthew Faithfull13-Jun-07 12:12 
AnswerRe: Error C2558 Pin
Michael Dunn13-Jun-07 14:36
sitebuilderMichael Dunn13-Jun-07 14:36 
AnswerRe: Error C2558 Pin
Sameerkumar Namdeo13-Jun-07 18:15
Sameerkumar Namdeo13-Jun-07 18:15 
QuestionRadio Buttons Pin
l_d13-Jun-07 10:00
l_d13-Jun-07 10:00 
AnswerRe: Radio Buttons Pin
David Crow13-Jun-07 10:17
David Crow13-Jun-07 10:17 
AnswerRe: Radio Buttons Pin
_anil_13-Jun-07 15:27
_anil_13-Jun-07 15:27 
GeneralRe: Radio Buttons Pin
Akt_4_U13-Jun-07 22:53
Akt_4_U13-Jun-07 22:53 
QuestionWhat is C#? Pin
suchon_phuong13-Jun-07 7:09
suchon_phuong13-Jun-07 7:09 
AnswerRe: What is C#? Pin
David Crow13-Jun-07 7:24
David Crow13-Jun-07 7:24 
AnswerDon't answer this person. Pin
leckey13-Jun-07 7:58
leckey13-Jun-07 7:58 
AnswerRe: What is C#? Pin
Hamid_RT13-Jun-07 8:54
Hamid_RT13-Jun-07 8:54 
Questionsending data Pin
barbara_j_jenson13-Jun-07 6:38
barbara_j_jenson13-Jun-07 6:38 
AnswerRe: sending data Pin
Mark Salsbery13-Jun-07 7:03
Mark Salsbery13-Jun-07 7:03 
GeneralRe: sending data Pin
barbara_j_jenson14-Jun-07 1:29
barbara_j_jenson14-Jun-07 1:29 
Questionembedded resource in DLL v/s static library Pin
act_x13-Jun-07 6:20
act_x13-Jun-07 6:20 
AnswerRe: embedded resource in DLL v/s static library Pin
David Crow13-Jun-07 6:31
David Crow13-Jun-07 6:31 

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.