• 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
Real Time packet capturing techniques?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Real Time packet capturing techniques?


  • Subject: Real Time packet capturing techniques?
  • From: Robert Monaghan <email@hidden>
  • Date: Thu, 23 Feb 2012 12:24:55 +0200

Hi Everyone,

I am working on some code to receive SOCK_RAW packets from a device in a point to point ethernet connection. The connection itself is 10Gigabit fibre, allowing for some really fast data transmission times.

I am using GCD (a variation on GCDAsyncSockets actually) to wait for incoming packets from the kernel, but many of these are dropped by the kernel before the packets can be processed. Is there a technique (or better yet, a sample project) that illustrates how to work with time-sensitive packet handling on the mac? My goal is to write the code so that no packets are lost (if possible) and the data isn't bring constantly resent to fill in missing packets.

One suggestion was to write a circular buffer. I was wondering if there were other ways to do this.

Thanks!

bob..




 _______________________________________________
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: NKE filter that forwards packets
  • Next by Date: NKE filter that forwards packets
  • Previous by thread: NKE filter that forwards packets
  • Next by thread: Cause of kCFNetServiceErrorUnknown?
  • Index(es):
    • Date
    • Thread