user74699: Why does bitcoin use TCP instead of creating a web server and using HTTP to comunicate between the nodes?
What's the advantage of using TCP over a HTTP server?
Is that important?

user69241: Http is a protocol that works on TCP.
So if you have an http-server, it uses TCP to communicate anyway.
The better question would be "Why should they use an http-server if they don't need it?".
They don't need/want to show a website. They just want to send binary information easily and want to be sure that the other peer received it completly/correctly. And TCP is the perfect protocol for that.

74699: <p>Why does bitcoin use TCP instead of creating a web server and using HTTP to comunicate between the nodes?</p>

<p>What's the advantage of using TCP over a HTTP server?</p>

<p>Is that important?</p>
 69241: <p>Http is a protocol that works on TCP.
So if you have an http-server, it uses TCP to communicate anyway.
The better question would be "Why should they use an http-server if they don't need it?".</p>

<p>They don't need/want to show a website. They just want to send binary information easily and want to be sure that the other peer received it completly/correctly. And TCP is the perfect protocol for that.</p>
