Bitcoin Forum
June 29, 2024, 09:39:50 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Decentralized network  (Read 373 times)
bitsmichel (OP)
Sr. Member
****
Offline Offline

Activity: 518
Merit: 250



View Profile
April 17, 2014, 05:59:01 PM
 #1

Say, I have a small C  (or any other language) sockets client/server program. How can I make it into a decentralized network?

Is every instance of the program a server+client? How can I bypass NAT with it?

benjyz
Full Member
***
Offline Offline

Activity: 140
Merit: 107


View Profile
April 17, 2014, 06:14:49 PM
 #2

you have to bootstrap. you need some entry point, so that nodes can start discovering themselves. piratebay for instance has links to torrents. TCP/IP does not know about client/server. it's just nodes with addresses. servers exist because names resolves to addresses via DNS. so you have to understand TCP/IP. or you learn zeroMQ, which is much easier (and I believe more powerful).

http://zguide.zeromq.org/hx:chapter8#True-Peer-Connectivity-Harmony-Pattern
digitalninja81
Newbie
*
Offline Offline

Activity: 91
Merit: 0


View Profile
April 19, 2014, 03:41:07 PM
 #3

Why don't you use any language sockets file/server programs?
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!