C# HTTP request/response

This is a discussion on C# HTTP request/response within the C# Programming forums, part of the General Programming Boards category; Hello everyone,
I need to build up using C# HTTP Server (HTTP Listener, which could parse various HTTP fields, like ...

C# HTTP request/response

Hello everyone,

I need to build up using C# HTTP Server (HTTP Listener, which could parse various HTTP fields, like post data and return response) and I also need to get an HTTP client which could package various HTTP fields (like URL, post data, etc.).

Are there any sample codes to recommend? I searched MSDN, failed to find any complete client and server samples. I have searched some other samples, which is built on TCP listener, and manually package/unpackage from TCP other than HTTP package level.