ForeverCode
Programmer
I'm using raw sockets and when I pull the originating and destination port out of the packet(TCP/IP layer) I'm not getting the right port. I can't find if they are integers or what. All I can find is that they are 16 bits long.
Can anyone help me figure out how to get the port data into integers I can display?
-Micah
Can anyone help me figure out how to get the port data into integers I can display?
-Micah