def __init__(self, server, port):
            "Connect to the given mirror server."
            self.socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
            self.socket.connect((server, port))
Connect to the given mirror server.
recipes/Python/576574_Login_Logger/recipe-576574.py