News for hackers. Stuff that matters.
Re:Testing if a port can be reached, using built-in tools ot... by gwright on Saturday October 07, 2023 @06:03PM (#37805931)
The wire format for UDP and TCP specifies 16 bit integer values. As another poster mentioned, you can uses OS level services to map a string to well-known ports, but encoding ports as strings at the wire level would've introduced a lot of serialization complications and performance concerns for parsing packets.

For ephemeral ports, it isn't clear what value there would be for a string identifier vs. the fixed-width integer.

There are no comments on this comment yet.