Core Function isVarClientSocket
From Sputnik Wiki
(Difference between revisions)
UberFoX (Talk | contribs)
(Created page with "<pre> isVarClientSocket( $variable ) </pre> === Description === Check if a variable holds a Client socket object. === Parameters === ==== variable ==== The variable to check...")
Newer edit →
(Created page with "<pre> isVarClientSocket( $variable ) </pre> === Description === Check if a variable holds a Client socket object. === Parameters === ==== variable ==== The variable to check...")
Newer edit →
Revision as of 11:43, 2 December 2011
isVarClientSocket( $variable )
Contents |
Description
Check if a variable holds a Client socket object.
Parameters
variable
The variable to check.
Return Value
Success: Returns 1.
Failure: Returns 0.
Remarks
None.
Example
$var1 = "check me"; println( "Is it?: " . isVarClientSocket($var1) );