• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Trigger an event on a kqueue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Trigger an event on a kqueue


  • Subject: Trigger an event on a kqueue
  • From: Marco Bambini <email@hidden>
  • Date: Wed, 10 Feb 2010 10:36:53 +0100

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: need some inputs on SCNetworkConfiguration
  • Next by Date: DICOM networking
  • Previous by thread: need some inputs on SCNetworkConfiguration
  • Next by thread: DICOM networking
  • Index(es):
    • Date
    • Thread