httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] listening to a certain port
Date Wed, 31 Aug 2005 16:25:45 GMT
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.

Joshua.

---------------------------------------------------------------------
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