Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 54687 invoked from network); 31 Aug 2005 16:42:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Aug 2005 16:42:11 -0000 Received: (qmail 21303 invoked by uid 500); 31 Aug 2005 16:41:59 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 21287 invoked by uid 500); 31 Aug 2005 16:41:58 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 21269 invoked by uid 99); 31 Aug 2005 16:41:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2005 09:41:58 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [69.225.174.131] (HELO x.win.covalent.net) (69.225.174.131) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2005 09:42:13 -0700 Received: from [192.168.0.21] ([24.13.128.132]) by x.win.covalent.net over TLS secured channel with Microsoft SMTPSVC(5.0.2195.6713); Wed, 31 Aug 2005 09:40:45 -0700 Message-ID: <4315DD8F.4090802@rowe-clan.net> Date: Wed, 31 Aug 2005 11:40:47 -0500 From: "William A. Rowe, Jr." User-Agent: Mozilla Thunderbird 1.0.6-1.1.fc3 (X11/20050720) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@httpd.apache.org References: <002201c5ae44$ba51f670$c2a2b451@ted> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 31 Aug 2005 16:40:46.0015 (UTC) FILETIME=[BC50C4F0:01C5AE4A] X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] listening to a certain port X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Joshua Slive wrote: > On 8/31/05, Octavian Rasnita wrote: > >>Hi, >> >>There is a client that sends data to a port on my server, and I need to get >>it and store it into a database. The data is not in HTTP format, so it >>doesn't use methods like GET or PUT, but only the data. >> >>Can I use Apache to put it to listen on that port and create a program that >>get the data and store it into a database? > > > Yes, but only by writing a custom protocol module, which is not a > simple thing to do. > > You would be much better off using a simple scripting language like > python or perl to listen on the port and slurp the data. If you decide to use httpd, however, I strongly suggest you look at mod_echo as a trivial protocol module example. Bill --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org