• 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
Re: detecting sockets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: detecting sockets


  • Subject: Re: detecting sockets
  • From: Vincent Pottier <email@hidden>
  • Date: Mon, 29 Nov 2004 17:11:19 +0100

Hi Thomas,
i think i've almost the same problem as yours, i'll like to be notified each time a tcp-syn packet is sent. After a few mail and search, it seems that NKE is the best solution, but it looks to complicate for me (not enougth sample code, can't find tcplogger one) so i've tried using tcpdump i think you migth have a look at it, maybe it can help you.
Hope that help
Vincent
PS: if someone have a better way to do it, it'll be with pleasure :¬)


Le 24 nov. 04, à 12:31, Quinn a écrit :

At 12:28 -0800 16/11/04, Thomas Drake wrote:
i'm really looking for a 100% reliable method for finding what sockets are opened for a give duration.

What version of Mac OS X are you targetting?

Do you care about sockets created by kernel code?

What are you using this information for?

It's very unlikely that you'll be able to get this information in a reliable way (that is, a way that will get all sockets and be binary compatible with future versions of Mac OS X). However, if you can give me a little background about the big picture, I might be able to offer some suggestions.

S+E
-- Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden


_______________________________________________ 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
References: 
 >detecting sockets (From: Thomas Drake <email@hidden>)
 >Re: detecting sockets (From: Stephane Sudre <email@hidden>)
 >Re: detecting sockets (From: Thomas Drake <email@hidden>)
 >Re: detecting sockets (From: Quinn <email@hidden>)

  • Prev by Date: Divert Sockets
  • Next by Date: RE: Clock Drift Problem
  • Previous by thread: Re: detecting sockets
  • Next by thread: CFWriteStream without timeout
  • Index(es):
    • Date
    • Thread