[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Xlog-discussion] Developers: AF_INET socket patch
From: |
Mike |
Subject: |
[Xlog-discussion] Developers: AF_INET socket patch |
Date: |
Sat, 1 Oct 2005 12:07:09 -0700 |
User-agent: |
KMail/1.8.1 |
Description:
Clients from any OS could send their log data to xlog. This is a patch
to
xlog that allows socket based connections from other computers to send their
log data to xlog over the local network. You would only have to run one
version of xlog. This works in a similar fashion to the message queues
currently in xlog.
Install instructions:
I made a diff file so you can patch xlog-1.2.2 easier. To patch xlog-1.2.2...
Save a copy of the original just in case.
cd xlog-1.2.2/src
patch < patch.txt
If it says this
Reversed (or previously applied) patch detected! Assume -R? [n]
Press y and keep going.
Sample client:
client2.c is a simple client that demonstrates the new functionality. You
have to edit the IP address to point to your xlog host's IP. Then just run:
make client2
Caveats:
It is up to Joop to decide if he wants to use this code or not in future
releases of xlog.
People will have to write real clients to send the data over the network.
Tell me what you think. I am sure it's not perfect. But it works.
73,
Mike K6EEP
patch.txt
Description: Text document
client2.c
Description: Text Data
- [Xlog-discussion] Developers: AF_INET socket patch,
Mike <=