How to receive HTTP request? [modified]
-
Hi Folk, I wanna create an application which should be run as a windows service. Application should receive HTTP request from the third party application. HTTP request hold xml data, i wanna parsing that and store it into local file. For above the constrains what type of application should i create using win32 or mfc?. Plz.. get me out from this confession... thanks in advance suzuuu
modified on Thursday, April 22, 2010 1:32 AM
-
Hi Folk, I wanna create an application which should be run as a windows service. Application should receive HTTP request from the third party application. HTTP request hold xml data, i wanna parsing that and store it into local file. For above the constrains what type of application should i create using win32 or mfc?. Plz.. get me out from this confession... thanks in advance suzuuu
modified on Thursday, April 22, 2010 1:32 AM
-
Nor the Win32 or MFC, I better suggests you to use C#.net. It will be much easier to do that with C#.net. Also you can use MFC, if you want to do it.
-
Hi Folk, I wanna create an application which should be run as a windows service. Application should receive HTTP request from the third party application. HTTP request hold xml data, i wanna parsing that and store it into local file. For above the constrains what type of application should i create using win32 or mfc?. Plz.. get me out from this confession... thanks in advance suzuuu
modified on Thursday, April 22, 2010 1:32 AM
Are you want to create your own http server?
-
Are you want to create your own http server?
-
I have no idea about server! But, my need is just receive HTTP request and parse xml then store it into local file. That's all
As I get you want to create server. Simple open a socket and start listening on a specified port. for test open internet explorer. type http://127.0.0.1:5000 5000 is port number on which server is listening request. It is changable but should be same on both server and client. On server read socket.
-
As I get you want to create server. Simple open a socket and start listening on a specified port. for test open internet explorer. type http://127.0.0.1:5000 5000 is port number on which server is listening request. It is changable but should be same on both server and client. On server read socket.
-
TQ manish... Is there any specific socket for HTTP in windows? OR is there are any specific format to play with HTTP request through socket?
There is no specific socket for http.
-
There is no specific socket for http.
-
Hi Folk, I wanna create an application which should be run as a windows service. Application should receive HTTP request from the third party application. HTTP request hold xml data, i wanna parsing that and store it into local file. For above the constrains what type of application should i create using win32 or mfc?. Plz.. get me out from this confession... thanks in advance suzuuu
modified on Thursday, April 22, 2010 1:32 AM
Running a local web server is not that hard, there are many libraries out there... to name a few: Webserver - Alhelm C++ Socket library[^] CSocketServerHttp - PichatCore C++ library[^] Webio - An embedded web server (Codeproject)[^] A C++ Embedded Web Server (Codeproject)[^] Hope it helps! :)
Webchat in Europe :java: Now with 26% more Twitter
-
Running a local web server is not that hard, there are many libraries out there... to name a few: Webserver - Alhelm C++ Socket library[^] CSocketServerHttp - PichatCore C++ library[^] Webio - An embedded web server (Codeproject)[^] A C++ Embedded Web Server (Codeproject)[^] Hope it helps! :)
Webchat in Europe :java: Now with 26% more Twitter