Message-ID: <32D06905.67C2@rangenet.com> Date: Sun, 05 Jan 1997 20:52:53 -0600 From: Dan Hedlund Reply-To: markiv AT rangenet DOT com Organization: Range Net MIME-Version: 1.0 To: Andreas Vernersson , djgpp AT delorie DOT com Subject: Re: WinSock in Dos with WIn95 References: <1 DOT 5 DOT 4 DOT 16 DOT 19970106022749 DOT 2c97feec AT freenet DOT hut DOT fi> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Andreas Vernersson wrote: >=20 > At 02:03 1997-01-05 -0800, you wrote: > >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, Close= Socket, > >GetSockName, Listen, and Socket. But when I call Connect or Accept, i= t just > >returns with an error (ax =3D 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 fa= ils. > > > >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 wi= th DPMI > >functions, just to go right back into protected mode), but in protecte= d 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. > > >=20 > great job.. >=20 > Do you think your going to be able to make a telnet or ping program in = the near > future for djgpp under Win95? >=20 > Please tell me about any progress :) >=20 > /andreas vernersson - Ume=E5, Sweden - hubb AT freenet DOT hut DOT fi - IRC: hubbl= e I don't know, I have to get connect and accept to work first. Do you know where I can find any information on wsock.vxd? Thanks, Dan