session related connection handling/cvs/mem
| From: | Ron Lange | Date: | Thu, 27 Jun 2002 20:17:18 +0000 |
| Subject: | session related connection handling/cvs/mem | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-85640@lists.php.net to get a copy of this message | ||
Hi,
I have to build a extension for PHP, which is connecting to a special
server over tcp/ip. For each session (client-php) a session related set of
data has to be kept, inclusive the socket descriptors and so on.
1. How can I keep the relationship of the data and the session? The data
consists of a c struct.
2. How I can determine which session is no longer used and can be freed?
3. At the moment my work rests in the cvs tree of our project, and I want
them to stay there. How I can build the php extension (using php-internal
build scripts) without great difficulties???
4. Our project uses own memory functions, since the sources will be
compiled on several different platforms. Do I have to use zend's exxx
memory functions?
regards
Ron