Re: Binary Tree Shared Memory Problem

2011-11-28 Thread Oğuzhan TOPGÜL
Hi, is there any example mod_slotmem codes that we can understand the usage? Or could you give me an usage example? For example we are using apr_shm_create() in post_config, but mod_slotmem is a little bit hard to understand i think. And i want to ask a question, is it a problem to create typedef

Re: Binary Tree Shared Memory Problem

2011-11-28 Thread Ignaz Birnstingl
Hi, apr_shm_baseaddr_get returns the base address for the shared memory segment. You will have to implement your own "allocator" within the shared memory. Also keep in mind that you can't reliably use pointers inside the shared memory segment, because - as the documentation states - the add

Re: module development suggestion request

2011-11-28 Thread Nick Kew
On 28 Nov 2011, at 07:58, Reza Shadmani wrote: > Give me a clue where to start... I kindly please to receive your hints and > experience in this matter. What you describe is a protocol module. There are a few examples available: mod_ftpd is probably the most mature at apache.org implementing n

Re: module development suggestion request

2011-11-28 Thread Issac Goldstand
On 28/11/2011 10:14, Reza Shadmani wrote: > Dear all, > I am an experienced C programmer and would like to write a module for Apache > platform to > accomplish following requirements: > > - receiving raw TCP traffic destined from connected clients. > - retain the connections established for a long

module development suggestion request

2011-11-28 Thread Reza Shadmani
Dear all, I am an experienced C programmer and would like to write a module for Apache platform to accomplish following requirements: - receiving raw TCP traffic destined from connected clients. - retain the connections established for a long time. - process incomming TCP traffic based on customi