In article <2tr7o3F22or99U1@uni-berlin.de>, Artie Gold <artiegold@austin.rr.com> writes:[color=blue]
> searcher1234 wrote:[color=green]
> > I just start learning network programming. How can I write a web server
> > with
> > "C" so that it can connect to web browser and read the request, accept the
> > request,
> > open requested html page, send it back to the web browser for user
> > viewing.[/color]
>
> You can do it by using platform specific extensions.[/color]
Not even then, since web browsers, as a rule, do not accept inbound
connections. Now, if the OP wanted to write a server that accepted
a connection from a browser, that would merely be off-topic.
[color=blue]
> Please post to a newsgroup specific to your particular platform.[/color]
I'd recommend comp.protocols.tcp-ip, where the relevant protocols and
some of the relevant APIs and techniques are discussed, and
comp.infosystems.
www.servers.misc, which covers this topic in general,
but my feeling is the OP is nowhere near ready to tackle building an
HTTP server.
Writing an HTTP server from scratch is a non-trivial task. I suggest
the OP consult the FAQs for the groups above to learn where to go to
learn what's involved.
--
Michael Wojcik
michael.wojcik@microfocus.com
Thanks for your prompt reply and thanks for your invitatin to your
paradise. Based on Buddihism transmigration, I realize you, European,
might be a philanthropist in previous life!
-- supplied by Stacy Vickers