Mail Archives: djgpp/1997/01/05/05:05:48
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
** ** ***** *** ** <markiv AT rangenet DOT com>
** ** ** ** **** ** http://www.rangenet.com/markiv
** ** ** ** ** ** **
** ** ******* ** ****
** ** ** ** ** ***
** ** ** ** ** **
***** ** ** ** **
- Raw text -