Re: Socket Rework Complete

From: Date: Fri, 08 Mar 2002 20:00:31 +0000
Subject: Re: Socket Rework Complete
References: 1 2 3 4  Groups: php.dev 
Request: Send a blank email to php-dev+get-80944@lists.php.net to get a copy of this message
Never try to do something as complicated as attach some source to a mailing list post after two beer and a hefty lunch. Attachment is really here this time. J J Smith wrote: > > Speaking of the FD_* macros and such, I'm trying to visualize how to > re-write some code that I have that relies on the socket_fd_* functions. > If you get the chance, could you look over this simplified version of what > I'm doing and point me towards the proper direction to get it working with > the new API. I want to have this stuff ready when PHP 4.2 or 4.3 come out, > and seeing as you're the one closest to the sockets extension, I thought > you could give me some pointers as to how it would work with the abscence > of the sockets_fd_* functions. (I'm a little confused what to do without > the FD_* stuff. This could make for a good example in the documentation, > anyways, if it works as hoped.) > > Attached is the stripped-down source. > > J > >

Attachment: [text/x-c++src] sample.php
« previous php.dev (#80944) next »