socket_set_blocking()

From: Date: Thu, 12 Dec 2002 17:17:46 +0000
Subject: socket_set_blocking()
Groups: php.general 
Request: Send a blank email to php-general+get-128042@lists.php.net to get a copy of this message
I was not able to get php's ftp functions working for me, they were uploading zero byte files, so I am now attempting to use fsockopen to accomplish the task. I found this script: http://www.phpbuilder.com/mail/php-general/2001102/1333.php It uses the function: socket_set_blocking(), and php.net says that this is an alias for stream_set_blocking(). What does blocking mode mean? I am not familiar with this concept, can someone explain. As for the issue of socket_set_blocking() being an alias for stream_set_blocking(), why would I not just use stream_set_blocking?

« previous php.general (#128042) next »