Bitcoin Forum
July 06, 2024, 05:50:33 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Threaded or asynchronous sockets?  (Read 618 times)
HCLivess (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1090


=== NODE IS OK! ==


View Profile WWW
March 30, 2016, 02:19:40 PM
 #1

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.

2112
Legendary
*
Offline Offline

Activity: 2128
Merit: 1068



View Profile
March 30, 2016, 08:17:11 PM
 #2

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.

Please comment, critique, criticize or ridicule BIP 2112: https://bitcointalk.org/index.php?topic=54382.0
Long-term mining prognosis: https://bitcointalk.org/index.php?topic=91101.0
HCLivess (OP)
Legendary
*
Offline Offline

Activity: 2114
Merit: 1090


=== NODE IS OK! ==


View Profile WWW
March 31, 2016, 12:24:06 PM
 #3

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

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!