Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: HCLivess on March 30, 2016, 02:19:40 PM



Title: Threaded or asynchronous sockets?
Post by: HCLivess on March 30, 2016, 02:19:40 PM
Hello, I am a P2P noob, can you please explain to me how Bitcoin allows connectivity between several nodes at once? Is it handled by some asynchronos sockets framework or in some other way like threading? Thanks.


Title: Re: Threaded or asynchronous sockets?
Post by: 2112 on March 30, 2016, 08:17:11 PM
Hello, I am a P2P noob, can you please explain to me how Bitcoin allows connectivity between several nodes at once? Is it handled by some asynchronos sockets framework or in some other way like threading? Thanks.
Multithreading.


Title: Re: Threaded or asynchronous sockets?
Post by: HCLivess on March 31, 2016, 12:24:06 PM
Hello, I am a P2P noob, can you please explain to me how Bitcoin allows connectivity between several nodes at once? Is it handled by some asynchronos sockets framework or in some other way like threading? Thanks.
Multithreading.


Great, I will use multithreading for my project also, with asynchronous socket support