tcp/ip sockets in apache module

2014-05-23 Thread Jeremy Thompson
I'm trying to write a module for apache. I've successfully compile in a test module that doesn't do a whole lot yet. I would like to be able to use tcp/ip sockets in the module to talk to another server. I added in some test code that should connect to my listening server and say hello whenever

Re: tcp/ip sockets in apache module

2014-05-23 Thread Jeff Trawick
On Fri, May 23, 2014 at 1:27 PM, Jeremy Thompson wrote: > I'm trying to write a module for apache. I've successfully compile in a > test module that doesn't do a whole lot yet. I would like to be able to > use > tcp/ip sockets in the module to talk to another server. I added in some > test cod

Re: tcp/ip sockets in apache module

2014-05-23 Thread Jeremy Thompson
I'Ll give that a shot. I'Ve used source level debugging in IDE's but it looks like I'Ll be using GDB for this one. Thanks. On 5/23/14 10:41 , "Jeff Trawick" wrote: >On Fri, May 23, 2014 at 1:27 PM, Jeremy Thompson >> wrote: > >> I'm trying to write a module for apache. I've successfully c

Re: tcp/ip sockets in apache module

2014-05-23 Thread Jeff Trawick
On Fri, May 23, 2014 at 1:58 PM, Jeremy Thompson wrote: > I'Ll give that a shot. I'Ve used source level debugging in IDE's but it > looks like I'Ll be using GDB for this one. Thanks. > Have a look at http://httpd.apache.org/dev/debugging.html On Windows, you can start httpd normally and attac

RE: [EXTERNAL] Re: tcp/ip sockets in apache module

2014-05-23 Thread Nebergall, Christopher
Also since there is no reason AFAIK that what you are attempting shouldn't work in your debugging make extra sure that the apache hook you are using is actually being called in your test requests, and that understand the order that hooks are called in - for example if set up the socket in one ho

Re: tcp/ip sockets in apache module

2014-05-23 Thread Nick Kew
On Fri, 2014-05-23 at 10:27 -0700, Jeremy Thompson wrote: > I'm trying to write a module for apache. I've successfully compile in a > test module that doesn't do a whole lot yet. I would like to be able to use > tcp/ip sockets in the module to talk to another server. This may or may not make sen