i have simple question about packets and protocols. when i receive packet, it can be udp, tcp... whatever, depending on packet's data field format.
what i want to know is, how can i recognize procotol type from ip header (i dont know how to call it, ehm - just the main header, the top header.. you know what i mean) . i have noticed, that ip header contains protocol type byte, but i cant find any list of numbers that would have told me what protocol is that.
thanks for the answer.
packets
Re: packets
Basic research skills. I don't mean to be hostile here, but research skills are necessary for OS development, and even engineering in general.
FWIW, some google search terms to get you started (sorted by specificity to your question):
- ip protocol numbers
- ip protocol
- packet
-B
FWIW, some google search terms to get you started (sorted by specificity to your question):
- ip protocol numbers
- ip protocol
- packet
-B
Re: packets
great great great ! )) just what i wanted, perfect
thanks a lot
thanks a lot
-
- Member
- Posts: 2566
- Joined: Sun Jan 14, 2007 9:15 pm
- Libera.chat IRC: miselin
- Location: Sydney, Australia (I come from a land down under!)
- Contact:
Re: packets
If you're thinking about network protocols, it's time to get familiar with RFCs. They have all the information you need, and are generally easy to read. Software like Wireshark will help you understand what you're reading if you get lost.
Have fun with your research .
Have fun with your research .