Hello All,
I want to listen to /dev/log. For that I am using the following code.
Please let me know whats the issue in the following code snip. Code I am
running with root user.
Thanks, wasim
if ((sockfd = socket(AF_UNIX,SOCK_STREAM, 0)) == -1)
{
printf("Failed To open AF_UNIX Socket"
I am trying to read some file using open and read system calls.
Here in my code I am doing open than poll and if poll returns with the event
POLLIN than read.
Even if poll returns with the event POLLIN read returns 0, that means no data.
My question here is,
Am I using poll() proper
On 07/21/2010 11:29 PM, Mansuri, Wasim (NSN - IN/Bangalore) wrote:
>
>
> Hello All,
>
> I want to listen to /dev/log. For that I am using the following code.
>
> Please let me know whats the issue in the following code snip. Code I am
> running with root user.
>
> Tha
Hello,
I have following problem with respect to syslogd on fedora13.
With the following configuration in the /etc/syslog.conf i should be able to
receive all syslog messages on localhost:514 port.
*.* @localhost
I am not getting anything on localhost:514. However if additionally i give
foll
Bill Davidsen [mailto:david...@tmr.com]
Sent: Wednesday, August 18, 2010 11:35 PM
To: Community support for Fedora users
Subject: Re: forwarding Syslog messages on localhost:514
Mansuri, Wasim (NSN - IN/Bangalore) wrote:
> Hello,
>
> I have following problem with respect to syslo
work.
-Original Message-
From: Gavin Spurgeon [mailto:gspurg...@redhat.com]
Sent: Wednesday, August 18, 2010 5:33 PM
To: Community support for Fedora users
Subject: Re: forwarding Syslog messages on localhost:514
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 08/18/2010 12:48 PM, Mansuri, Wasim