[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

        Clients from any OS could send their log data to xlog. This is a patch 
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

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.
Mike K6EEP

Attachment: patch.txt
Description: Text document

Attachment: client2.c
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]