Multi-client TCP echo-server client.
-
Clone this repo and my
go-tcp-server
one.- Follow first the instructions of the server respository.
-
Connect a new client to the server by running
go run main.go
.- By default you connect to
localhost
in port8080
. You may change it if you wish, but remember to change it ongo-tcp-server
as well.
- By default you connect to
-
Type your username as prompted, and you may start sending messages!
-
You can then connect as many clients as you want!
-
Type "END" to close the client connection to the server.