Binary Safety and Sockets
| From: | Hans Zaunere | Date: | Fri, 20 Sep 2002 17:10:08 +0000 |
| Subject: | Binary Safety and Sockets | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-117044@lists.php.net to get a copy of this message | ||
I'm working with the socket_* function (--enable-sockets) and have been
seeing some wierd issues. I'm guessing it has to do with
socket_recvfrom/sendto etc not being binary safe. This is 4.2.3 on
FreeBSD 4.6.2.
My question is: what functions, specifically socket_* functions, are
binary safe? How can I tell? When will they be?
And, while we're on the subject, in general, are PHP functions binary
safe? Should I assume functions aren't binary safe unless noted
otherwise - or should I assume the inverse?
If anyone could shed some light on this, I'd appreciate it.
Hans
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com