# README
TCP-Messaging
Implements a basic tcp messaging system with one server and multiple clients
Time Taken
- Preliminary Reading (2 hrs)
- Implementation (11 hrs)
Note
- All commands are delimited by '~'
- Development branch was not used since it was not required here
- golangci-lint has been used and run though no .yml file has been attached
- Run a server with
go run server/server.go
- Run a client with
go run client/client.go
- Use the clientID displayed with
ClientList
operation as the target value inForwardMessage
operation
Sample Operations
-
{"operation":"ClientList"}~
-
{"operation":"ForwardMessage","value":"Sending some data","target":"1"}~