Date: Sun, 8 Apr 2012 01:01:01 +0200 From: Ivan Voras <ivoras@freebsd.org> To: Vlad Galu <dudu@dudu.ro> Cc: freebsd-hackers <freebsd-hackers@freebsd.org> Subject: Re: Socket buffer usage Message-ID: <CAF-QHFWqkNkzmEN-GBnMO4porVub1CQZRLkudMVbP7d1hdEhxQ@mail.gmail.com> In-Reply-To: <0D2E65B3D0AB4A6483C26A613FC73F83@dudu.ro> References: <CAF-QHFWV%2ByV3VwY3dhhxzi4=xwrJcUDULW=PyJxQH8Vb=61%2BSw@mail.gmail.com> <0D2E65B3D0AB4A6483C26A613FC73F83@dudu.ro>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7 April 2012 23:36, Vlad Galu <dudu@dudu.ro> wrote: > This might not exactly be what you want, but struct kevent has a member called "data" which, for sockets and pipes, returns the number of available bytes to read (or write) for EVFILT_READ (or EVFILT_WRITE) events. > That's a good idea but I'm actually trying to find out why my write events are not firing, so I can't get to that information.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF-QHFWqkNkzmEN-GBnMO4porVub1CQZRLkudMVbP7d1hdEhxQ>