Socket Programming - Question

duncanm255 at hotmail.com duncanm255 at hotmail.com
Fri Feb 10 19:11:04 EST 2006


I am relatively new to Python, and wanted to see if this is even
possible, and if so how to go about implementing it.  What I'm looking
to do is create a client/server application that does the following:

1)  System2 listens on port > 1023
2)  System1 connects to System2 and sends traffic to it - based on the
traffic it receives (i.e. a special string), System2 executes
command-line commands and returns the output to System1.

An example of what I am looking to use this for is for remote virus
scanning.  So System2 listens, System1 connects and sends it the
traffic to start the scan, then System1 returns either what would be
listed in the Command Prompt window, or possibly the contents of the
logfile.

Any help would be greatly appreciated!

Doug




More information about the Python-list mailing list