Return-Path: X-Original-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B6B7311D2F for ; Fri, 23 May 2014 17:59:05 +0000 (UTC) Received: (qmail 19801 invoked by uid 500); 23 May 2014 17:59:05 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 19757 invoked by uid 500); 23 May 2014 17:59:05 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 19749 invoked by uid 99); 23 May 2014 17:59:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 May 2014 17:59:05 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [72.29.176.10] (HELO mail.doeseverything.com) (72.29.176.10) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 May 2014 17:59:03 +0000 X-Footer: dGVubmlzLXdhcmVob3VzZS5jb20= Received: from localhost ([127.0.0.1]) by mail.doeseverything.com (using TLSv1 with cipher DES-CBC3-SHA (168 bits)) for modules-dev@httpd.apache.org; Fri, 23 May 2014 10:58:37 -0700 User-Agent: Microsoft-MacOutlook/14.3.6.130613 Date: Fri, 23 May 2014 10:58:37 -0700 Subject: Re: tcp/ip sockets in apache module From: Jeremy Thompson To: Message-ID: Thread-Topic: tcp/ip sockets in apache module In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 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 >> a request is made. I'm not getting any errors upon compiling the module >> with the sockets stuff added but its not actually doing anything. >> Basically >> its ignoring my connect and send code. Does anyone have a small working >> example of this or am I just way off base in using TCP/IP for external >> communication to a module. Thanks. >> >> ~Jeremy >> >> >You need to know how to step through your code with a source level >debugger >so you can figure out these sorts of problems on your own. > >Do you know how to do that? Are you trying but it isn't stopping in your >code? Is there some other issue with source level debugging? > >-- >Born in Roswell... married an alien... >http://emptyhammock.com/ >http://edjective.org/