Hello again guys,
I'm afraid its more dreaded dos questions again...
I have been making progress, i think... but im stuck again.
This time its sockets. I have downloaded DSock, a sockets library for DOS. I
started writing a server/client tcp based talk program which didnt work. I
wasnt suprised so I took a look at the enclosed demos they provided. These
didnt work. They do work between two windows machines (btw there are windows
versions and dos versions included, win version using winsock, dos suing dsock) but not
between a windows and dos machine even though they ensure it should work. At
least if i sort this i know my original code should work :-\
When first running on my dos machine it said couldnt find packet drivers
even though they were installed with MS Network Client 3.0. Their is a .exe
driver installer that came with DSock which i stuck in the autoexec.bat.
Everything appeared to work great... Could still ping etc. When i run the
two machines (one win one dos) with either the udp or tcp example they open the sockets and
everything but they never seem to get the messages... The error i do get is
when i run the tcp version talk demo the client gets a "SocketConnect( ) error"(if
client is DOS) or a Unable to connect to server (if client is WIN). Basically i
can create sockets, bind sockets, listen to them but never connect... With
the UDP demo both appear to work fully (no errors) apart from the obvious
lack of messages coming in...
Now i have the view that its a problem with the network and not the sockets
code, but what can be wrong with the network, i can ping other machines and
they can ping me, is there something im totally missing? Should i step back
from the sockets, obliterate MS Client from the machine and use something
else?
I've included a link to the DSock site so if you are feeling a) ultra keen
and helpful, or b) fed up with what you should be doing, you can take a
look... :)
http://www.dmp.com.tw/tech/dsock/ - DSOCK site
Well i've vented my frustrations if anything...
Oh if you're wondering why im asking you and not the writers of dsock, they
are from Taiwan and weren't very helpful when i asked about adding Libs in
Turbo C 2.01 (i solved that one in the end)...
Thanks again,
Gary