Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

 

ircg_pconnect

(PHP 4 >= 4.0.4, PHP 5)

ircg_pconnect --  IRCサーバに接続する

説明

resource ircg_pconnect ( string username [, string server_ip [, int server_port [, string msg_format [, array ctcp_messages [, array user_settings]]]]])

ircg_pconnect() will try to establish a connection to an IRC server and return a connection resource handle for further use.

The only mandatory parameter is username, this will set your initial nicknake on the server. server_ip and server_port are optional and default to 127.0.0.1 and 6667.

注意: For now parameter server_ip will not do any hostname lookups and will only accept IP addresses in numerical form.

You can customize the output of IRC messages and events by selection a format string set previously created with ircg_register_format_messages() by specifing the sets name in msg_format.

ctcp_messages

user_settings

See also: ircg_disconnect(), ircg_is_conn_alive(), ircg_register_format_messages().

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "PHP マニュアル". See Index Page for more info about Authorship and Copyright.

1999-2009 Linuxinfor.com. No rights reserved.