Skip to content

Jonathancui123/Mesh-Messenger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mesh-Messenger

Video demo of go-mesh-network!

About

A simple mesh network client that sends messages over TCP connections. It records the addresses of all peers it has encountered, and also broadcasts incoming messages to existing peers. New clients can join the network by dialing into any current member of the network.

  • Built with goRoutines that wait for input, listen for incoming messages, and send messages to peers

  • Duplicated messages due to broadcasting are ignored by tracking unique ID's for each message

  • To populate the list of peers, messages contain the client's current address

Setup

Firewall must be opened up to incoming and outbound connections.

go install go-mesh-network
go-mesh-network [ -nickname <your-nickname> -dial <peer's host:port to dial>] 

Acknowledgement

This project was made with help from Google I/O's "Whispering Gopher's" talk

About

🖧 A simple mesh network client that sends messages over TCP connections

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages