A simple Go tool that lets a server broadcast shell/command-line instructions to multiple connected clients on windows.
- Server can send commands to all connected clients
- Clients execute commands and return output
Server
go build -o server.exe main.go server.go
Client
go build -o client.exe main.go client.go
Server
./server.exe
The server will start on port 5000 and wait for clients to connect.
Client
./client.exe
Once connected, the client will execute commands from the server and print the output.