Small web server
-
Hi all I am interested in developing a small, simple web server. I want to be able to exchange data between a server and a client via html (or unless some one knows of a better way of doing it without installing any client side apps, lie active x for example). The server will also need to be able to generate html pages containing information based on its current understanding of that data. The data wil consist of strings and check box data, as well as commands via buttons. Perhaps there are some god articles on CP that some one knows about and can point me in the direction of. Thanks in advance ---modified--- One more thing, I will be implementing it in C so any C, or C++ examples would be better.
Morality is indistinguishable from social proscription
-
Hi all I am interested in developing a small, simple web server. I want to be able to exchange data between a server and a client via html (or unless some one knows of a better way of doing it without installing any client side apps, lie active x for example). The server will also need to be able to generate html pages containing information based on its current understanding of that data. The data wil consist of strings and check box data, as well as commands via buttons. Perhaps there are some god articles on CP that some one knows about and can point me in the direction of. Thanks in advance ---modified--- One more thing, I will be implementing it in C so any C, or C++ examples would be better.
Morality is indistinguishable from social proscription
-
Any of this Google Query help http://www.google.co.uk/search?hl=en&q=site%3Asourceforge.net+%22C%22+or+%22C%2B%2B%22+and+%22Web+Server%22&btnG=Search&meta=[^]
Thanks, its interesting what it shows up. I think, after digging in alittle deeper, that what I actually need is a small, single threaded http server to start with, and then possibly I will have to add the data passing (unless it can be done entirely with html) functionality, perhaps CGI? Dont know, I have very little knowledge in this area.
Morality is indistinguishable from social proscription
-
Thanks, its interesting what it shows up. I think, after digging in alittle deeper, that what I actually need is a small, single threaded http server to start with, and then possibly I will have to add the data passing (unless it can be done entirely with html) functionality, perhaps CGI? Dont know, I have very little knowledge in this area.
Morality is indistinguishable from social proscription
What is the problem in using existing web servers such as Microsoft's IIS or Apache. You made mention of CGI, are you thinking of running an executable (an EXE or DLL) to process data ? If so, either IIS or Apache can run such CGI's. Just program the CGI with the functionality you need in whatever language you choose (Pascal/C++ etc). I not absolutely certain if I still got, but I used to have some Borland literature on this subject, it is some years since I last did Borland related stuff. :)
-
What is the problem in using existing web servers such as Microsoft's IIS or Apache. You made mention of CGI, are you thinking of running an executable (an EXE or DLL) to process data ? If so, either IIS or Apache can run such CGI's. Just program the CGI with the functionality you need in whatever language you choose (Pascal/C++ etc). I not absolutely certain if I still got, but I used to have some Borland literature on this subject, it is some years since I last did Borland related stuff. :)
Richard A. Abbott wrote:
What is the problem in using existing web servers such as Microsoft's IIS or Apache
I want to put a small web (http) server in a network driver so it can interpret html requests and resond with relevant data. THats why its got to be small, and in C.
Morality is indistinguishable from social proscription
-
Richard A. Abbott wrote:
What is the problem in using existing web servers such as Microsoft's IIS or Apache
I want to put a small web (http) server in a network driver so it can interpret html requests and resond with relevant data. THats why its got to be small, and in C.
Morality is indistinguishable from social proscription
-
Short of pointing you to http://www.freertos.org/a00090.html[^], I'm sorry but have no other suggestions for you. :(
-
Hi all I am interested in developing a small, simple web server. I want to be able to exchange data between a server and a client via html (or unless some one knows of a better way of doing it without installing any client side apps, lie active x for example). The server will also need to be able to generate html pages containing information based on its current understanding of that data. The data wil consist of strings and check box data, as well as commands via buttons. Perhaps there are some god articles on CP that some one knows about and can point me in the direction of. Thanks in advance ---modified--- One more thing, I will be implementing it in C so any C, or C++ examples would be better.
Morality is indistinguishable from social proscription
-
Richard A. Abbott wrote:
What is the problem in using existing web servers such as Microsoft's IIS or Apache
I want to put a small web (http) server in a network driver so it can interpret html requests and resond with relevant data. THats why its got to be small, and in C.
Morality is indistinguishable from social proscription
I'm sure I'm not the only one wondering why you'd implement a web server within a network driver. I can imagine you just want a really small web server--but then it doesn't have to be part of a driver. Or I can imagine you want a driver whose configuration utility is http-based--but then the utility doesn't have to be part of the driver either. So I wonder if you could explain a little more what you're trying to do... or why. I think the best answer depends a lot on whether your environment supports things like stdin/stdout, sockets, and the like. And of course what operating system you're working with. (If your environment lets you use inetd, writing a web server gets a lot easier! You simply read a request on stdin and push the response onto stdout.)