1

Is there some method to extract the IP, TCP or UDP header associated with a received packet/telegram.

(an example use-case is finding the TCP sequence number associated with the received byte[])

Note that the socket is just a normal one (not a raw socket) but we want to extract some lower-layer information regarding the received packet. Is it possible?

4

0 回答 0