Search

Recent comments

Categories

None


Contact the author

E-mail me Send mail

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008

.NET HttpListener Class - Weak documentation on Prefix formats

Just thought I'd share this if someone else encounters the same problems I did trying to use this class.

The documentation for the .NET HttpListener class states that a Prefix host name + is similar to * without going into any further details.
There is actually a pretty big difference between the two.

There is also no mention of what happens when you specify an IP addresses as the host name (weak wildcard).

The full explanation is found in the MSDN documentation for the "HTTP Server API" under "UrlPrefix Strings".
See http://msdn2.microsoft.com/en-us/library/aa364698(VS.85).aspx

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:
Posted by jesper on Tuesday, March 25, 2008 5:48 PM
Permalink | Comments (0) | Post RSSRSS comment feed