Kernel::PingOO_IO => Functions


Public
Descriptionquit the program
Output
typenone
description none
Descriptionread message on the socket
Output
typeboolean
description 1 on success, 0 otherwise
Parameters
$size
type$INTEGER
description size of message to read
$dest
typeref
description reference on a IO::Handle where write
Descriptionread message on handle $src and write in $dest
Output
typeboolean
description 1 on success, 0 otherwise
Parameters
$src
typeref
description reference on a IO::Handle where read
$size
type$INTEGER
description size of message to read
$dest
typeref
description reference on a IO::Handle where write
Descriptionread data from $src and write on handle $dest
Output
typeboolean
description 1 on success, 0 otherwise
Parameters
$mode
type$STRING
description the mode header
$dest
typeref
description reference on a IO::Handle where write
$src
typeref
description reference on a IO::Handle where read
Descriptionstart the dialog between client and server
Output
typenone
description none
Parameters
$new_socket
typeref
description reference to a IO::Handle inheriting object where read/send data

Private
Descriptioncall a function
Output
typeboolean
description 1 on success, 0 otherwise
Parameters
$func
typepointeur to %HASH
description function hashtable
$param
typepointeur to %HASH
description parameters for the called function
Descriptionprint error and kill the process
Output
typenone
description none
Descriptionfunction used when a client connect on the server at the first time
Output
type$INTEGER
description 1 on success, 0 otherwise
Descriptionread a line on the socket and return it
Output
type$STRING
description the next line
Descriptionfunction used when a client reconnect on the server
Output
type$INTEGER
description 1 on success, 0 otherwise
Descriptionsend data with 'high' protocol
Output
typeboolean
description 1 on success, 0 otherwise
Parameters
$hash
typepointeur to %HASH
description hash used to know how to send data
$result
typepointeur to %HASH
description hash where data to send are written
$func
typepointeur to %HASH
description function hashtable
Descriptionsend data with 'high' protocol
Output
typeboolean
description 1 on success, 0 otherwise
Parameters
$hash
typepointeur to %HASH
description hash used to know how to send, and what data send
$input
typeref
description reference on a IO::Handle where read data
Descriptionverify the user password
Output
type$INTEGER
description 1 on success, 0 otherwise
Descriptionwait new procedure call
Output
typenone
description none