docs: def connect(self, address, port):
          """Connect/reconnect to a DCC peer.
  
          Arguments:
              address -- Host/IP address of the peer.
  
              port -- The port number to connect to.
  
          Returns the DCCConnection object.
          """
          self.peeraddress = socket.gethostbyname(address)
          self.peerport = port
          self.buffer = buffer.LineBuffer()
          self.handlers = {}
          self.socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
          try:
              self.socket.connect((self.peeraddress, self.peerport))
          except socket.error as x:
              raise DCCConnectionError("Couldn't connect to socket: %s" % x)
          self.connected = True
          self.reactor._on_connect(self.socket)
          return self