|
SocketServer module example
|
|
01-25-2010, 04:09 PM
(This post was last modified: 01-25-2010 04:12 PM by codecaine.)
Post: #1
|
|||
|
|||
|
SocketServer module example
If you just look at python documentation that comes with python it has examples for most modules. All you have to do is copy and paste and modifie it to what you want. Just like I did with this ServerSocket.
This is a server I made. It responds with 3 different things. If you type jeromewantstoknowman the server will say why its me running your server. If you type jeromesayskill it will shutdown the server. If anything else is type is will burp it back to you . Connect to it on telnet on port 6666;Code: import SocketServer |
|||
|
01-25-2010, 08:13 PM
Post: #2
|
|||
|
|||
|
RE: SocketServer module example
Ha ha funny arguments "jeromesayskill" and "jeromewantstoknowman" . . .
Great job ! There's a fine line between genius and insanity. I have erased this line. Oscar Levant There's a fine line between an administrator and black hat hacker. I have erased this line. Dr DEBCOL |
|||
|
« Next Oldest | Next Newest »
|



. Connect to it on telnet on port 6666;

