Sponsored by NuSphere - PHP Software for PHP Application Developers - On Sale This Week for $100 off


Net_Socket::setTimeout()

Net_Socket::setTimeout()

Net_Socket::setTimeout() -- sets timeout

Description

Sets the timeout value on socket descriptor, expressed in the sum of seconds and microseconds.

Parameter

  • integer $seconds - seconds part

  • integer $microseconds - microseconds part

Return value

boolean - Returns TRUE on success, PEAR_Error on failure.

Note

This function can not be called statically.

© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.