Discussion:
Create a functional HTTP/1.0 server
(too old to reply)
Rasheed
2007-12-06 12:48:53 UTC
Permalink
Hi All,
i have to Create a functional HTTP/1.0 server. Server will be
hosting files which on request by client should be transferred to
them.

so can any body tell me how to start this.


i did some R & D on Winhttp functionality.


ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.WIN32COM.v10.en/winhttp/
http/winhttpreceiveresponse.htm


but it seems like a perticular URL checking.


but i have to create a HTTP Server and Server will be hosting files
which on request by client should be transferred to them. so can any
body help me out.


regards,
Rasheed.
Paul Baker [MVP, Windows - SDK]
2007-12-06 14:18:33 UTC
Permalink
Rasheed,

WinInet and WinHTTP are both client-side HTTP implementations, with WinInet
being user interactive and WinHTTP being newer technology for
non-interactive services. And, of course, this is a WinInet newsgroup.

You might want to look at the HTTP Server API:
http://msdn2.microsoft.com/en-us/library/aa364510.aspx

Paul
Post by Rasheed
Hi All,
i have to Create a functional HTTP/1.0 server. Server will be
hosting files which on request by client should be transferred to
them.
so can any body tell me how to start this.
i did some R & D on Winhttp functionality.
ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.WIN32COM.v10.en/winhttp/
http/winhttpreceiveresponse.htm
but it seems like a perticular URL checking.
but i have to create a HTTP Server and Server will be hosting files
which on request by client should be transferred to them. so can any
body help me out.
regards,
Rasheed.
ttc
2007-12-09 13:20:58 UTC
Permalink
Or you might want to use System.net in .NET framework. Most of the
facility/infrastructure is already there for you.

I would use the TcpListener to start off with.
Post by Paul Baker [MVP, Windows - SDK]
Rasheed,
WinInet and WinHTTP are both client-side HTTP implementations, with
WinInet being user interactive and WinHTTP being newer technology for
non-interactive services. And, of course, this is a WinInet newsgroup.
http://msdn2.microsoft.com/en-us/library/aa364510.aspx
Paul
Post by Rasheed
Hi All,
i have to Create a functional HTTP/1.0 server. Server will be
hosting files which on request by client should be transferred to
them.
so can any body tell me how to start this.
i did some R & D on Winhttp functionality.
ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.WIN32COM.v10.en/winhttp/
http/winhttpreceiveresponse.htm
but it seems like a perticular URL checking.
but i have to create a HTTP Server and Server will be hosting files
which on request by client should be transferred to them. so can any
body help me out.
regards,
Rasheed.
Volodymyr Shcherbyna
2007-12-10 12:38:10 UTC
Permalink
With all my respect to .NET, I still continue to think that implementing a
wheel using "template for implementing the wheels" would be still overhead.
--
Volodymyr
Post by ttc
Or you might want to use System.net in .NET framework. Most of the
facility/infrastructure is already there for you.
I would use the TcpListener to start off with.
Post by Paul Baker [MVP, Windows - SDK]
Rasheed,
WinInet and WinHTTP are both client-side HTTP implementations, with
WinInet being user interactive and WinHTTP being newer technology for
non-interactive services. And, of course, this is a WinInet newsgroup.
http://msdn2.microsoft.com/en-us/library/aa364510.aspx
Paul
Post by Rasheed
Hi All,
i have to Create a functional HTTP/1.0 server. Server will be
hosting files which on request by client should be transferred to
them.
so can any body tell me how to start this.
i did some R & D on Winhttp functionality.
ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.WIN32COM.v10.en/winhttp/
http/winhttpreceiveresponse.htm
but it seems like a perticular URL checking.
but i have to create a HTTP Server and Server will be hosting files
which on request by client should be transferred to them. so can any
body help me out.
regards,
Rasheed.
Volodymyr Shcherbyna
2007-12-07 21:55:27 UTC
Permalink
Seems like Paul already pointed out that wininet is wrong direction to solve
your problem. Why do you need to reinvent the wheel? Why don't you want to
use apache for example?
--
Volodymyr
Post by Rasheed
Hi All,
i have to Create a functional HTTP/1.0 server. Server will be
hosting files which on request by client should be transferred to
them.
so can any body tell me how to start this.
i did some R & D on Winhttp functionality.
ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.WIN32COM.v10.en/winhttp/
http/winhttpreceiveresponse.htm
but it seems like a perticular URL checking.
but i have to create a HTTP Server and Server will be hosting files
which on request by client should be transferred to them. so can any
body help me out.
regards,
Rasheed.
Loading...