redis_connect()

 
Connects to Redis on the specified IP / hostname and port.
Syntax
redis_connect( ip, port, conn_id var )
Returns 1 on success, 0 on failure
  • ip / hostname = The IP address or hostname of the server Redis is on
  • port = The port number to connect on
  • conn_id = An output value containing an reference ID which is associated to the internal Redis connection.
User Annotations: redis_connect