read from syslog file ..

1999-04-26 Thread Daniel Ignat
i need some tpoic for i resolve my problem in C/C++ i need to formating a file for insert in a database: (/var/log/message) before Apr 26 14:54:39 ** kernel: PPP: ppp line discipline successfully unregistered Apr 26 15:04:17 ** PAM_pwdb[261]: (login) session closed for user john

sniffer and multiple ethernet devices

1999-04-26 Thread Mullen, Patrick
I am writing an ethernet sniffer and am trying to use it on a machine which has two ethernet adapters. Why is it that when I run the program on eth0, I get traffic from both eth0 and eth1? When I look at ifconfig, it shows eth0 as being in promiscuous mode and eth1 as not being in promiscuous

recv

1999-04-26 Thread James
i'm trying to communicate with a server which sends output down a socket. The server sends a code and then some text (e.g 01: Connection Refused). What i'd like to do is just recv the first 2 bytes and act on them, instead of having to recv the whole line (i don't know how long the lines of text

Re: [rms@gnu.org: Re: still no egcs/gcc announcement]

1999-04-26 Thread eugene . leitl
From: Marc Lehmann [EMAIL PROTECTED] On Sun, Apr 25, 1999 at 10:58:51PM +, Jason wrote: [Announcement omitted.] The question that's on my mind is: what does this mean for pgcc in terms of its relationship to egcs/gcc? Oh, the faq entry on this is still quite correct. In the old gcc