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

Jan 05, 2011 5 Replies

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!


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.

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

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.

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.

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

[IMG]
formatting link

I dunno

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required