Patrick Barnes wrote:
Is there any way to get the file descriptor of an IMAP stream opened with imap_open?
No. You'd have to manually connect to the IMAP server with socket functions or whatever.
One way to look at it is that imap_* functions are a higher level of abstraction than raw file descriptors and sockets, so providing the file descriptor would break that abstraction.
-- Jasper Bryant-Greene Freelance web developer http://jasper.bryant-greene.name/ If you find my advice useful, please consider donating to a poor student! You can choose whatever amount you think my advice was worth to you. http://tinyurl.com/7oa5s -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php