Home
Name Modified Size InfoDownloads / Week
client.py 2011-03-17 5.0 kB
wcom.py 2011-03-17 6.1 kB
readme.txt 2011-03-16 1.0 kB
Totals: 3 Items   12.1 kB 0
Readme

This application has two part, a server and a client.

The server file is wcom.py and the client file is client.py

The commands available to the server are

 l List all connected clients 
 q Stop all clients 
 b xyz Broadcast msg xyz to all clients  
 s xyz Start server and listen on socket xyz 
 e Exit program and shut down remote clients

The clients are just dumb zombies waiting for command from the server, but first they have to connect to the server.
Just start the client and connect to the server by "c hostIporName hostSocket" 
the client has a few other options too

 c xyz connect to server at ip xyz 
 d disconnect current connection 
 e exit program 

Whats usefull about this thing?

Suppose you have ten pc, and you need to run a command on all ten of them at the same time.
You can just run my client.py on all ten, connect to the server.py running on your main computer, 
and then broadcast any command from the server, which will execute the command on the clients via client.py 
Source: readme.txt, updated 2011-03-16