Main index | Section 9 | 日本語 | Options |
It prevents the application from receiving the connected descriptor via accept() until data arrives on the connection.
The ACCEPT_FILTER_DATA kernel option is also a module that can be enabled at runtime via kldload(8) if the INET option has been compiled into the kernel.
struct accept_filter_arg afa;bzero(&afa, sizeof(afa)); strcpy(afa.af_name, "dataready"); setsockopt(sok, SOL_SOCKET, SO_ACCEPTFILTER, &afa, sizeof(afa));
ACCF_DATA (9) | November 15, 2000 |
Main index | Section 9 | 日本語 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | To err is human...to really foul up requires the root password. | ” |