Author

Topic: Decentralized network (Read 373 times)

newbie
Activity: 91
Merit: 0
April 19, 2014, 11:41:07 AM
#3
Why don't you use any language sockets file/server programs?
full member
Activity: 140
Merit: 107
April 17, 2014, 02: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
sr. member
Activity: 518
Merit: 250
April 17, 2014, 01: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?
Jump to: