httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: [users@httpd] listening to a certain port
Date Wed, 31 Aug 2005 16:40:47 GMT
Joshua Slive wrote:
> On 8/31/05, Octavian Rasnita <orasnita@fcc.ro> 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 <URL:http://httpd.apache.org/userslist.html> 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


Mime
View raw message