Joshua Slive wrote:
On 8/31/05, Octavian Rasnita <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to