Click here to Skip to main content
15,886,724 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a client that can do Http POSTs and a server that can do HttpListener operations
in Windows XP. The existing Http classes from MSDN library for my server don't work in
Windows 7 i.e. HttpListener, HttpListenerRequest, HttpListenerResponse,
and HttpListenerContext. Is anyone familiar with other existing Http classes that work in Win 7 or patches for my server?

Thanks for any suggestions,

Kent
Posted
Updated 11-Apr-14 12:29pm
v2
Comments
Garth J Lancaster 11-Apr-14 18:07pm    
I think you'd be better off refining your question and expanding on 'don't work' - what does this mean, what error(s) do you get (Im assuming your code compiles)

... and have you checked a) Windows 7 Firewall settings b) any Virus systems like McAfee to see if they are blocking comms (if this is the 'don't work bit')
Garth J Lancaster 11-Apr-14 18:09pm    
also - trawl through here and see if you need to run in admin more (or if that helps), and the discussion thereof

http://stackoverflow.com/questions/4019466/httplistener-access-denied
Sergey Alexandrovich Kryukov 11-Apr-14 18:28pm    
Not a question. (We cannot consider as a question "is anyone familiar...", can we? :-)
—SA
[no name] 11-Apr-14 18:38pm    
According to the MSDN documentation, at least HttpListener does work in Win 7, http://msdn.microsoft.com/en-us/library/vstudio/system.net.httplistener. So, one has to wonder what on earth you are talking about.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900