My first attempt at both NetBios programming and C++, so forgive any implied ignorance.
I'm using Alok Sinha's Network Programming in Windows NT as a guide.
I've written a small application using MVC++ 5.0 and linked it as a DLL. I've attached the DLL to a Paradox application. The purpose of the application is to act as a server and collect status packets (using NetBios Listen/Call/Receive) from several PC clients. The server is running NT Workstation 4.0, and the clients are MS-DOS 6.22.
I have the server application running, and accepting connections and receiving data from a "client" running in a DOS window on the same NT Workstation. My "client" issues an NCB.CALL and is successfully connected to the server application. The "client" issues an NCB.SEND and successfully transmits a data packet to the server application.
Now for my troubles...when I run the "client" application on a DOS machine hooked up to my LAN, I can not get a connection established. My server has issued the NCB.LISTEN command to wait for a NCB.CALL, but the "client" times out without finding the server name. I'm running the identical "client" application on both the DOS window under NT and on the DOS machine.
I know my NT box has NetBEUI successfully installed, because I can connect to it from my DOS machine running MS Workgroup Add-On for DOS. I can also successfully run very similar applications between two DOS boxes.
So my question is, what have I forgotton to do in my Visual C++ library that keeps me from being able to create a NetBIOS session between a DOS machine and my application? I'm anxious to get past this hurdle...any help would be greatly appreciated.