Proxy server in C# .Net

  • Thread starter Thread starter joicedony
  • Start date Start date
J

joicedony

Hey everybody,

I am joice, College student.
I am doing the project in C# .Net.
The title of PROXY SERVER.

Now my doubt is,

I will get the request from the client,
ie) the request is www.yahoo.com.
I can received the request.
Now i want to send the response for the request.
Which method is preferred for this one.


And one more doubt,
If i got the request, and i want to stored the request in
hashtables.
After, stored the request i want to view the hashtable in any manner.

pls give me valuable suggestions.

Thanks in advance

Urs
Joice
 
joicedony said:
Hey everybody,

I am joice, College student.
I am doing the project in C# .Net.
The title of PROXY SERVER.

Now my doubt is,

I will get the request from the client,
ie) the request is www.yahoo.com.
I can received the request.
Now i want to send the response for the request.
Which method is preferred for this one.

You can use System.Net.HttpWebRequest/HttpWebResponse for forwarding
requests, but for receiving requests you'll have to use plain sockets
(unless you use .Net 2.0 and its HttpListener).
And one more doubt,
If i got the request, and i want to stored the request in
hashtables.
After, stored the request i want to view the hashtable in any manner.

What are you doubting?
 
Back
Top