On 07/23/2010 05:14 AM, Mansuri, Wasim (NSN - IN/Bangalore) wrote:
>
>
> I am working on some network server which has to monitor the os
> events and report it to some GUI. For that I want to read the
> /dev/log and process it and report it to the GUI.
>
> So here my aim is not to write but I wa
agram
socket whithout consuming data from the socket? I want to keep the data for
other applications to read.
-Original Message-
From: Rick Stevens [mailto:ri...@nerd.com]
Sent: Thursday, July 22, 2010 9:52 PM
To: Community support for Fedora users
Subject: Re: bind() to /dev/log failed
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.
>
> Thanks, wasim
>
> if ((sockfd = s
On 07/22/2010 02:29 AM, 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.
>
> Thanks, wasim
>
> if ((sockfd =
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"