code: def set_connection_params(self, address, local_tsap, remote_tsap):
          
          assert re.match(ipv4, address), '%s is invalid ipv4' % address
          result = self.library.Cli_SetConnectionParams(self.pointer, address,
                                                        c_uint16(local_tsap),
                                                        c_uint16(remote_tsap))
          if result != 0:
              raise Snap7Exception("The parameter was invalid")
docs: Sets internally (IP, LocalTSAP, RemoteTSAP) Coordinates.
          This function must be called just before Cli_Connect().
  
          :param address: PLC/Equipment IPV4 Address, for example "192.168.1.12"
          :param local_tsap: Local TSAP (PC TSAP)
          :param remote_tsap: Remote TSAP (PLC TSAP)