Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [josh@enigma ~]$ python26
- Python 2.6.8 (unknown, Nov 7 2012, 14:47:34)
- [GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] on linux2
- Type "help", "copyright", "credits" or "license" for more information.
- >>> import socket
- >>> s = socket.socket(2,1); s.connect(('irc.freenode.net', 6667))
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- File "<string>", line 1, in connect
- socket.error: [Errno 110] Connection timed out
- >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement