p2pchat

command module
v0.0.0-...-2da46f5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2016 License: MIT Imports: 14 Imported by: 0

README

p2pChat

p2pChat is a program I wrote to learn Golang. It started off as a simple peer-to-peer tcp chat program where I simply could telnet into it.

Node:

alt tag

Telnet:

alt tag

Soon I was able to have two nodes talking to each other no more telnet! I added some fancy colors to make the messages more readable.

alt tag

I started working with data synchronization. I calculate a checksum of all the keys in my dataset. I used this approach as it used the least bandwidth.

alt tag

Later on it morphed into a p2p chat sync program in which nodes communicate their current data state and updates other nodes to keep them all up to date with the latest data.

alt tag

Image with no all debugging off:

alt tag

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL