Is it possible to use HTTP protocol without client-server model

I know this question sounds crazy. It is common sense that HTTP is based on client-server model. If I want to use HTTP, I have to setup a server. However, it is unpopular to setup an additional server inside of a corporate network. So my question is, is it possible for 2 PCs to communicate with each other with HTTP protocol, while none of them is set as HTTP server?

Thank you!

Reply to
Like2Learn
Loading thread data ...

Yes, if you can build USB without host and I2C without master.

However, all these protocols do not stop you from switching roles on the fly.

Reply to
linnix

OK, fine enough. The answer is no, otherwise it will be a surprise.

Reply to
Like2Learn

If you can store all the files on the client, you can access them through file:// protocol, otherwise you'll need a HTTP server. What's the problem of setting up an HTTP server anyway ? Unless you do crazy things, it's not going to interfere with anything.

Reply to
Arlet Ottens

You make it sound like the server is something special---but if you set aside the marketing ("you need a $1000 Windows Server 2003 to run this website"), a client-server protocol like HTTP is just two computers talking to each other over the Ethernet. You can write a simple HTTP server-client pair in literally under 10 lines of a high-level language with nice networking facilities, e.g. in Tcl along the lines of

formatting link

All 'server' means is that the client initates the connection to it.

Reply to
Przemek Klosowski

Not sure it's REALLY what you're asking, but Datalight's Sockets might work M2M;

[IMG]
formatting link

I dunno

Reply to
1 Lucky Texan

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.