I wonder if there would be a way to adapt this to also use MacTCP instead of OpenTransport.
Does it boil down to compatibility with older hardware?
OpenTransport was fully multithreaded and based on SysV UNIX streams. Technically much superior. It has partial MacTCP API support for older apps but some programs demanded real MacTCP to work properly. I think Mac was the only place that really used Streams widely. Mac network programming in the OpenTransport days was alien from a Unix perspective.
OS X now uses sockets like everyone does these days.
Going off memory here it has been a long long time.
(I seem to recall there's a version of OT you can use with System 7 Pro, a.k.a. System 7.1.1.)