IRC Gateway
PHP Manual

ircg_set_current

(PHP 4 >= 4.0.4, PHP 5 <= 5.0.5)

ircg_set_current — Set current connection for output

说明

bool ircg_set_current ( resource $connection )

Select the current HTTP connection for output in this execution context. Every output sent from the server connected to by connection will be copied to standard output while using default formatting or a format message set specified by ircg_register_format_messages().

参数

connection

A connection resource handle returned by ircg_pconnect().

返回值

如果成功则返回 TRUE,失败则返回 FALSE

参见


IRC Gateway
PHP Manual