When learning TCP/IP it may be helpful to look at the
masscan port scanning program, because it contains its own network stack. This concept, "
contains its own network stack", is so unusual that it'll help resolve some confusion you might have about networking. It'll help challenge some (incorrect) assumptions you may have developed about how networks work.