Bitcoin Forum
May 11, 2024, 02:49:05 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Threaded or asynchronous sockets?  (Read 616 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.

1715438945
Hero Member
*
Offline Offline

Posts: 1715438945

View Profile Personal Message (Offline)

Ignore
1715438945
Reply with quote  #2

1715438945
Report to moderator
1715438945
Hero Member
*
Offline Offline

Posts: 1715438945

View Profile Personal Message (Offline)

Ignore
1715438945
Reply with quote  #2

1715438945
Report to moderator
In order to achieve higher forum ranks, you need both activity points and merit points.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715438945
Hero Member
*
Offline Offline

Posts: 1715438945

View Profile Personal Message (Offline)

Ignore
1715438945
Reply with quote  #2

1715438945
Report to moderator
1715438945
Hero Member
*
Offline Offline

Posts: 1715438945

View Profile Personal Message (Offline)

Ignore
1715438945
Reply with quote  #2

1715438945
Report to moderator
1715438945
Hero Member
*
Offline Offline

Posts: 1715438945

View Profile Personal Message (Offline)

Ignore
1715438945
Reply with quote  #2

1715438945
Report to moderator
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!