The top cat uses ports to sort messages based on application.
Think pigeon holes, applications usually use protocols which are assigned a number by convention. The application gets it’s message out of it’s assigned ports instead of having to sort through all the messages.
“if” gcc had a Ken Thompson hack how do you secure checks notes anything