-
-
Save tjt263/4b275f759bed07aada30 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> import socket >>> socket.setdefaulttimeout(2) >>> s = socket.socket() >>> s.connect(("192.168.95.148",21)) | |
>>> ans = s.recv(1024) >>> print ans |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment