code: def target_socket(self, config):
  		
  		address = config[self.__target_socket_config.section][self.__target_socket_config.address_option]
  		port = config.getint(self.__target_socket_config.section, self.__target_socket_config.port_option)
  
  		target = WIPV4SocketInfo(address, port)
  		if target.address() is None or target.port() is None:
  			raise ValueError('Invalid target address or port')
  		return target
docs: :meth:`.WNetworkNativeTransportProto.server_socket` method implementation