* Anjali Kulkarni <[EMAIL PROTECTED]> [010612 05:54] wrote:
> hi,
> 
> Does any one know how to perform user-level upcalls from kernel
> TCP/IP stack? If I wanted to get an upcall every time a data packet
> arrived on a socket, how can it be done? Can I use signal handlers
> for this?

Please wrap lines at 70 characters.

Yes, you can erquest that a signal (SIGIO) be sent to you each time
an event occurs, take a look at fcntl(2) manpage.

-- 
-Alfred Perlstein [[EMAIL PROTECTED]]
Instead of asking why a piece of software is using "1970s technology,"
start asking why software is ignoring 30 years of accumulated wisdom.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to