it is known that both TCP and UDP are bound to IP, so
when IP receive packets from below layer(such as PPP), how it decide which higher level protocol the packets should be transmitted up the stack to, TCP or UDP?
my opinion is: IP delieve the packets to both TCP and UDP, if it's UDP packets, the Process() of TCP will discard it, while if it is TCP packets, the Process() of UDP will discard it.
is it right?