[syslog-ng] Problem when getting data from syslog-ng into a socket program
Balazs Scheidler
bazsi at balabit.hu
Mon Aug 13 11:54:53 CEST 2007
On Mon, 2007-08-13 at 15:18 +0530, Diluka Moratuwage wrote:
> Hi,
> Thanks for your reply. Yea I just understood it. Now I'm not going
> to forceably close the
> connection. And I don't use the recv() function anymore. When I'm using
> the read() funtion
> it worked.
>
it should not matter whether you use recv() or read(). read() is
equivalent to calling recv() with 0 as flags.
--
Bazsi
More information about the syslog-ng
mailing list