Re: new subcategory "Node" & something about processes

From: Date: Sun, 24 Nov 2002 12:15:22 +0000
Subject: Re: new subcategory "Node" & something about processes
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-11057@lists.php.net to get a copy of this message
> (seems like nobody answered my net_socket post :/ let's try something new ;p) > Okay. I'm sure that pear will need a new subcategory for connection endpoints, > because there are quite a lot of it : > o Sockets > o System V message queues > o FIFO named pipes > ... > > In future Net_Socket can't be stored in Net anymore, because it could also > be possible then to create UNIX sockets with it (php's new socket extension). Sure it can. And personally I wouldn't want Net_Socket to be converted to PHPs socket extension for portability reasons. > Of course, this new kind of Node_Socket and Node_SysVMsg (or however) need > experimental extensions (sockets, sysvmsg) but I think that's ok. For me > it already works really fine. I tried to make some benchmark with > Sockets against SysVMsg but this pcntl_waitpid stuff didn't work. > Well, here is it without any useable result : > http://0x03.net/sources/MsgVsSocket.phps > (Process.phps and Node.phps are also stored in the same directory) > Sockets, message queues and the ipc stuff is in usage very similar > to other languages like c or c++. So it's great to translate the > code one-to-one into another language and link php to it. > That's it.. Node as a category or top level directory isn't exactly meaningful. Personally I think all this stuff could quite happily sit under the Net/ directory. -- Richard Heyes V-webmail - http://www.v-webmail.co.uk

« previous php.pear.dev (#11057) next »