AFAIK, no versions of DOS were written with TCP/IP. Version 3.1 had support for Microsoft Networks, and 4 or 5 ish you started to see some of the NDIS stuff. And lets not forget all the joyful NetBIOS stuff. However, it wasn't really until Winsock came out that there was any sort of TCP/IP support in MS products. Before that, there were a lot of shareware/freeware type implementations that you could use, with the packet driver interface becoming pretty popular. But all addon's.
DOS 3.1 and bulletin boards - if not earlier. And the only ports usually involved there were COM1, COM2, etc... not TCP/IP ports. Completely different beast and not related.
WfW was the first thing that MS had an addon for to do TCP/IP, and then Win95 shipped with it.
So yes, DOS and Windows up til 95 shipped without TCP/IP support, and din't monitor thie "myriad of ports" (65535 actually, and it's not like they are being created and added to - it's a 16bit unsigned int.
Why do I feel like I'm feeding trolls here?