site_archiver@lists.apple.com Delivered-To: macnetworkprog@lists.apple.com Hello, I am developing a server and I am currently using kqueue for read/write events. I am trying to trigger a socket event on a kqueue without success. In reply to a QUIT command sent to the server I would like to trigger a close event for that socket. I tried with both: shutdown(connfd, SHUT_RDWR); and with close (connfd) but when there are a lot of concurrent connections/disconnections a lot of CLOSE events are missed from the kqueue. Anyone has an idea about a possible solution? Thanks a lot, Marco Bambini _______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macnetworkprog/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Marco Bambini