Question about socket ext. file descriptors

From: Date: Thu, 29 Mar 2001 06:56:40 +0000
Subject: Question about socket ext. file descriptors
Groups: php.dev 
Request: Send a blank email to php-dev+get-50186@lists.php.net to get a copy of this message
At present, the sockets extension uses integers as file descriptors (e.g. socket() return value). At first I thought maybe they should have been resources until I tried writing some socket code, when I realized that it's easier under many circumstances for them to be ints. Is this going to be behaviour that can be relied upon? Thanks, Torben -- +----------------------------------------------------------------+ |Torben Wilson <torben@php.net> Adcore Finland| |http://www.coastnet.com/~torben http://www.adcore.com| |Ph: 1.604.709.0506 torben@adcore.com| +----------------------------------------------------------------+

« previous php.dev (#50186) next »