Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
simple chat on network (do not use it on public net )
# replace 192.168.x.x with your ip
# apt install mawk
# the server
mawk -W interactive '$0="Aysad: "$0' | nc -l -p 9000 192.168.x.x
# the clients
mawk -W interactive '$0="clientUser1: "$0' | nc 192.168.x.x 9000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.