• 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: ip level NKE : Parse out data in HTTP POST request
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ip level NKE : Parse out data in HTTP POST request


  • Subject: Re: ip level NKE : Parse out data in HTTP POST request
  • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Date: Mon, 14 May 2012 11:04:33 +0100

On 14 May 2012, at 05:58, Arjun SM wrote:

> As I understand, data can be distributed over multiple packets.

That's correct.

> My question is that, how do i keep track of the packets for specific HTTP POST request so that I don't miss out on the data ?

This isn't much fun to do from an IP-level NKE.  You have to keep track of TCP connections (based on the standard 4-uple of source address + dest address + source port + dest port) and use that to retain connection state information for each connection.

It's much easier to do with a socket-level NKE, where you get the chance to associate your state data with each socket (see the TCPLogEntry structure in the tcplognke sample).

Share and Enjoy
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware



 _______________________________________________
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: 
 >ip level NKE : Parse out data in HTTP POST request (From: Arjun SM <email@hidden>)

  • Prev by Date: Re: SSL host name checking doesn't understand wildcard subdomains?
  • Next by Date: Re: SSL host name checking doesn't understand wildcard subdomains?
  • Previous by thread: ip level NKE : Parse out data in HTTP POST request
  • Next by thread: Using CFHTTPMessage to parse response header but not body?
  • Index(es):
    • Date
    • Thread