def setup(self, address, port):
address = str(address)<EOL>port = int(port)<EOL>self._socket = socket.socket()<EOL>self._socket.connect((address, port))<EOL>self._socket.send(b'<STR_LIT>')<EOL>with self._socket.makefile() as f:<EOL><INDENT>if f.readline().strip() != '<STR_LIT:OK>':<EOL><INDENT>raise RuntimeError('<STR_LIT>')<EOL><DEDENT><DEDENT>
Connects to server at `address`:`port`.

        Connects to a TCP server listening at `address`:`port` that implements
        the protocol described in the file "Generic TCP I:O Protocol.md"

        @arg address IP or address to connect to.
        @arg port port to connect to.

        @throw RuntimeError if connection was successiful but protocol isn't
               supported.
        @throw any exception thrown by `socket.socket`'s methods.