Message-ID: <32CF7981.21EA@rangenet.com> Date: Sun, 05 Jan 1997 03:50:57 -0600 From: Dan Hedlund Reply-To: markiv AT rangenet DOT com Organization: Range Net MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: WinSock in Dos with WIn95 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi. I'm trying to get TCP/IP in dos with Win95. I'm accessing WSOCK.VXD (through int 2f) using djgpp. I've got several functions to work : Bind, CloseSocket, GetSockName, Listen, and Socket. But when I call Connect or Accept, it just returns with an error (ax = 0xffff) and the lights on my modem light up for a few seconds. I know it's trying to connect, but for some reason it fails. I've also had problems accessing the VxD directly from protected mode. It works just fine in real mode (calling real mode from protected mode with DPMI functions, just to go right back into protected mode), but in protected mode, int 2f returns a pointer to the vxd call, but it just causes a GPF. I've tried calling it with 16 and 32 bit return address, but neither seem to work. Thanks, ***** *** ** ** Dan M. Hedlund ** ** ***** *** ** ** ** ** ** **** ** http://www.rangenet.com/markiv ** ** ** ** ** ** ** ** ** ******* ** **** ** ** ** ** ** *** ** ** ** ** ** ** ***** ** ** ** **