For Programmers: Free Programming Magazines  


Home > Archive > C# > February 2005 > Multithread TCP Proxy Server









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Multithread TCP Proxy Server
viv

2005-02-24, 3:58 am

Hi

I am a newbie to C#.

Looking for a good design /code example for a multi thread TCP proxy
server.

Client -> Proxy -> Host Server
Client <- Proxy <- Host Server

Any help and comments welcomed.

Thnx
Viv

MasterGaurav

2005-02-25, 8:58 am

Have a look at:

http://www.codeproject.com/dotnet/dotnettcp.asp

The demo gives a good idea of how to implement multi threaded servers.
You can extend the functionality to make it act as a proxy. All you
need to do is retrieve the data from extranet and pass on that data,
with may be some extra headers for each direction.

--
Cheers,
Gaurav Vaish
http://www.mastergaurav.org
http://mastergaurav.blogspot.com
--------------------------------

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com