>What does that machine say in network identification, or when you run IPCONFIG from the DOS prompt? Does it agree with WinSock?
Eric,
Here is the print screen from DOS right now while I'm on line. The second address (1 Ethernet adapter) is the one the function is returning. Looks like the problem is the two NICs. I didn't know about the IPCONFIG command. I'll take a look at removing that second card id. There is only one card. Maybe this is also why my net connection seems so slow?
Thanks.
Windows 98 IP Configuration
0 Ethernet adapter :
IP Address. . . . . . . . . : 165.247.73.242
Subnet Mask . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . : 165.247.73.242
1 Ethernet adapter :
IP Address. . . . . . . . . : 169.254.76.180
Subnet Mask . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . :
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn