yaz_close
yaz_database
YAZ Functions
PHP Manual

# yaz_connect

(PHP 4 >= 4.0.1, PECL yaz >= 0.9.0)

yaz_connect — Returns a positive association ID on success; zero on failure

### Description

int yaz_connect ( string `$zurl` )

yaz_connect() prepares for a connection to a Z39.50 target. The zurl argument takes the form host[:port][/database]. If port is omitted 210 is used. If database is omitted Default is used. This function is non-blocking and doesn't attempt to establish a socket - it merely prepares a connect to be performed later when yaz_wait() is called.

yaz_close
yaz_database
YAZ Functions
PHP Manual