Created
November 27, 2018 01:17
-
-
Save AysadKozanoglu/a5b92861252d39d26bb0799b2e333ccd to your computer and use it in GitHub Desktop.
simple chat on network (do not use it on public net )
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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