def METHOD_NAME(self):
    if self.to_address is None:
        raise AttributeError(ATTRIBUTE_ERROR_TO_ADDRESS_NOT_NONE)
    self.create_socket()
    if self.secure_socket:
        self.setup_secure_socket()
    self.setup_polling()
    self.set_socket_options()
    self.connect_socket()