- Create a server with
go run .
- Shut down the server by typing
f
in the terminal you launched it in
- Open a new terminal (default on linux is
ctrl + alt + t
) - Type
nc localhost [portnumber]
- Enter your name
- Hope your friends (you) are online
go run .
f
in the terminal you launched it inctrl + alt + t
)nc localhost [portnumber]