Index: Lib/nntplib.py =================================================================== --- Lib/nntplib.py (revision 59568) +++ Lib/nntplib.py (working copy) @@ -109,8 +109,7 @@ """ self.host = host self.port = port - self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) - self.sock.connect((self.host, self.port)) + self.sock = socket.create_connection((host, port)) self.file = self.sock.makefile('rb') self.debugging = 0 self.welcome = self.getresp()