Saturday, August 23, 2008

Simple c# UDP/TCP Proxy


I wrote simple tcp udp c# proxy using sockets, only 120 lines of code, its redirects connection from localhost to somewhere and display all data that was sended / received( like packet sniffer).

Source Code: http://www.codeplex.com/WPFSamples/Release/ProjectReleases.aspx?ReleaseId=16580

4 comments:

yekoshy said...

it keeps opening google.com

I need to open what was requested

I understand that the code knows what was requested but it doesn't open it in the browser ..

Bruno Garcia said...

Mitä kuuluu? :)

I believe you could call it TCP Forwarding since you are not really taking the resource requested by the user into consideration. But it's a nice demo.

I wrote similar thing (with different purposes) here:

http://blog.brunogarcia.com/2012/10/simple-tcp-forwarder-in-c.html

But wrote it hybridly with asynchronous and synchronous programming.

Cheers!

Unknown said...

Hyvin

Send Flower Pakistan said...

Such a nice blog and very helpful torrent site I want also some excited link which is unblock site.you are open any blocked torrent site by using this link
Fenopy UK proxy