2

In my application, I want to add the option to split my packets and I have found this post:

Split packet into 2 packets with pcapdotnet

i split 1 TCP packet into 2 packets and the 2 packets received is TCP and Ipv4, is it normal or i should received 2 TCP packets ?

Community
  • 1
  • 1
  • 1
    Are you fragmenting an IP packet so you send out 2 IP fragments ? If so what do you mean that you receive 2 packets TCP and IPv4 ? Which application is receiving it , which is sending something ? Anyway, it doesn't make sense to look at the TCP layer until you have reassembled the fragments of an IP packet is fragmented – nos Nov 28 '12 at 21:49
  • i can't get what you are trying to do ? – berkay Nov 28 '12 at 21:53
  • hey, Its not good to do that. IP fragmentation: The Internet Protocol (IP) implements datagram fragmentation, so that packets may be formed that can pass through a link with a smaller maximum transmission unit (MTU) than the original datagram size – pylover Nov 28 '12 at 21:59
  • i have special server that "catch" those 2 packets and know to merge them. – user1860927 Nov 29 '12 at 04:54
  • Can you give the code you use and link to a .pcap file output? – brickner Dec 01 '12 at 19:57

1 Answers1

0

Please see discussion and solutions in http://pcapdotnet.codeplex.com/discussions/350211

brickner
  • 6,595
  • 3
  • 41
  • 54