[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 "", line 1, in File "", line 1, in connect socket.error: [Errno 110] Connection timed out >>>