Real Time packet capturing techniques?
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