Synchronous HTTP Client with .NET sockets

Posted by Ray Wits on Stack Overflow See other posts from Stack Overflow or by Ray Wits
Published on 2010-06-05T13:16:23Z Indexed on 2010/06/05 13:22 UTC
Read the original article Hit count: 188

Filed under:
|
|

Does anyone know of any open source C# projects or some sample code that implement a synchronous HTTP client using sockets?

I'm working on a project where I need a HTTP client using sockets. It can't use WebRequest or WebClient, nor can it use Asynchronous sockets. Don't ask. Also it would ideally be on .NET 2.0, yeah very cutting edge here.

I figured the web would have tons of samples for this but suprisingly I couldn't find any. Probably because everyone is fortunate enough to use the built in APIs.

If I don't find something I'll have to write it myself, which I don't really want to have to reinvent that wheel.

© Stack Overflow or respective owner

Related posts about c#

Related posts about http