Click here to Skip to main content
15,915,163 members
Home / Discussions / C#
   

C#

 
QuestionNeed DataGridView with Footer. Pin
hdv21213-Jun-07 11:51
hdv21213-Jun-07 11:51 
AnswerRe: Need DataGridView with Footer. Pin
Pankaj - Joshi13-Jun-07 18:14
Pankaj - Joshi13-Jun-07 18:14 
QuestionSyntax highlighting textbox Pin
Latheesan13-Jun-07 11:27
Latheesan13-Jun-07 11:27 
AnswerRe: Syntax highlighting textbox Pin
Latheesan13-Jun-07 11:34
Latheesan13-Jun-07 11:34 
GeneralRe: Syntax highlighting textbox Pin
Latheesan13-Jun-07 12:40
Latheesan13-Jun-07 12:40 
QuestionWhy I didn't get the job Pin
Mark J. Miller13-Jun-07 11:10
Mark J. Miller13-Jun-07 11:10 
GeneralWell done! Thank's for sharing it! Pin
Martin#13-Jun-07 19:33
Martin#13-Jun-07 19:33 
QuestionIntercept Outgoing Port 80 Pin
zx2c413-Jun-07 11:00
zx2c413-Jun-07 11:00 
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
AnswerRe: Intercept Outgoing Port 80 Pin
Not Active13-Jun-07 11:06
mentorNot Active13-Jun-07 11:06 
GeneralRe: Intercept Outgoing Port 80 Pin
zx2c413-Jun-07 11:08
zx2c413-Jun-07 11:08 
GeneralRe: Intercept Outgoing Port 80 Pin
Not Active13-Jun-07 13:59
mentorNot Active13-Jun-07 13:59 
GeneralRe: Intercept Outgoing Port 80 Pin
zx2c413-Jun-07 14:02
zx2c413-Jun-07 14:02 
GeneralRe: Intercept Outgoing Port 80 Pin
Not Active13-Jun-07 14:06
mentorNot Active13-Jun-07 14:06 
GeneralRe: Intercept Outgoing Port 80 Pin
zx2c413-Jun-07 14:07
zx2c413-Jun-07 14:07 
GeneralRe: Intercept Outgoing Port 80 Pin
Colin Angus Mackay13-Jun-07 23:52
Colin Angus Mackay13-Jun-07 23:52 
GeneralRe: Intercept Outgoing Port 80 Pin
Member 368719016-Jul-09 23:05
Member 368719016-Jul-09 23:05 
GeneralRe: Intercept Outgoing Port 80 Pin
Colin Angus Mackay17-Jul-09 1:33
Colin Angus Mackay17-Jul-09 1:33 
QuestionGDI+ Text Rendering Pin
Akin Ocal13-Jun-07 10:55
Akin Ocal13-Jun-07 10:55 
Questionopen text file in a textbox and print it Pin
merwa13-Jun-07 9:06
merwa13-Jun-07 9:06 
AnswerRe: open text file in a textbox and print it Pin
Not Active13-Jun-07 11:21
mentorNot Active13-Jun-07 11:21 
QuestionGood C# Language Book Pin
DVeit13-Jun-07 8:54
DVeit13-Jun-07 8:54 
AnswerRe: Good C# Language Book Pin
MatrixCoder13-Jun-07 9:22
MatrixCoder13-Jun-07 9:22 
AnswerRe: Good C# Language Book Pin
DVeit14-Jun-07 4:07
DVeit14-Jun-07 4:07 
JokeRe: Good C# Language Book Pin
MidwestLimey13-Jun-07 9:26
professionalMidwestLimey13-Jun-07 9:26 
GeneralRe: Good C# Language Book Pin
Luc Pattyn13-Jun-07 9:53
sitebuilderLuc Pattyn13-Jun-07 9:53 

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.