★ wanayoo — archive 1999 http://www.php.net/manual/function.set-socket-blocking.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to Network
Quick Reference
German version of this pageJapanese version of this pageItalian version of this pageFrench version of this pageHungarian version of this page
Network
* checkdnsrr
* closelog
* debugger_off
* debugger_on
* fsockopen
* gethostbyaddr
* gethostbyname
* gethostbynamel
* getmxrr
* getprotobyname
* getprotobynumber
* getservbyname
* getservbyport
* openlog
* pfsockopen
* socket_set_blocking
* syslog
* ip2long
* long2ip
Manual: socket_set_blocking
View the source code for this pageSearch the site



Previous page
 pfsockopen
 Updated
Sat, 12 Aug 2000
syslog 
Next page


socket_set_blocking

(PHP4 >= 4.0b4)

socket_set_blocking -- Set blocking/non-blocking mode on a socket

Description

int socket_set_blocking (int socket descriptor, int mode)

If mode is false, the given socket descriptor will be switched to non-blocking mode, and if true, it will be switched to blocking mode. This affects calls like fgets() that read from the socket. In non-blocking mode an fgets() call will always return right away while in blocking mode it will wait for data to become available on the socket.

This function was previously called as set_socket_blocking() but this usage is deprecated.


 About Notes


Previous page
 pfsockopen
 Updated
Sat, 12 Aug 2000
syslog 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.