When I worked in software/splumber using DJGPP, I found on the Internet some obscure documents to access the Winsockets stack from a DPMI client (programs built with DJGPP were MS/DOS based, DPMI clients). With those documents I created KipDJ. But again, Microsoft screwed it again with Windows 98 and this stack stopped working.