Example code not working

Mar 29, 2010 at 12:12 AM


I'm a very novice in C# and i cannot figure out why your example here (http://webserver.codeplex.com/wikipage?title=HttpListener&referringTitle=Examples) doesn't work for me.
First of all there's no Response object but only a Request object in "RequestEventArgs e", looks like you have done a lot of changes to your library but it's not reflected in the examples, am i right?

The page just keeps spinning and it just won't write my response. I'm using HttpServer.v1.1.zip from the startpage.

Thanks for your help!

Mar 29, 2010 at 4:59 AM

You are correct.


Here is a working example:


Mar 31, 2010 at 8:09 PM

That's great! Thanks a bunch!