Documentation ¶
Overview ¶
This program extends part 8.
It connects to the peer specified by -peer. It accepts connections from peers and receives messages from them. When it sees a peer with an address it hasn't seen before, it makes a connection to that peer. It adds an ID field containing a random string to each outgoing message. When it recevies a message with an ID it hasn't seen before, it broadcasts that message to all connected peers.
Click to show internal directories.
Click to hide internal directories.