How to develope client/server application through sockets?

I want to develope a client/server application through network using tcp/ip sockets. On one end I have old machines with DOS 6.0 or so while on the other end winxp. WinXp is to act as client to be connected to other DOS pcs acting as servers. DOS pcs have already loaded with tcp/ip (ver not available just now) and other neccassry files and drivers. The problem is that in the present setup, what to say of communication, the PC with windows XP can't even ping the other DOS Pcs. I have written a simple client/server application in VC++ that works fine on the single pC with WINXP but fails to connect to the said DOS machines.
Please help me out by providing basic things that have to be taken in mind while writing such an application. If possible, enumerating sequentially all the actions/things required to reach the solution.
[844 byte] By [zakirhussain] at [2007-11-20 10:38:43]
# 1 Re: How to develope client/server application through sockets?
1. You need to check firewall setting in your Win-XP. I'm not sure but may be this is the default
that if security is set to high security, then OS will not allow ICMP.

2. After you release the firewall, check the subnet of each PCs. For trial purpose, it might be
better to put them in the same subnet. Hopefully you can ping them and run your program.
henky@nok.co.id at 2007-11-9 13:55:28 >
# 2 Re: How to develope client/server application through sockets?
I have already tried the solution suggested by you but to no vail. kindly look into the matter again and come up with any other solution that might works. The problem is that when I try to ping DOS PC from WINXP one the message says: 'Destination Host is unreachable'. Questions in my mind are:
i) Is there any compatibilty problems with TCP/Ip versions or Sockets programs that are there on the two different platforms under discussion?
ii) Do you think that the two pcs must ping each other once TCP/IP is loaded in the DOS PC before any kind of formal programming for data communication, I mean, without going to having a socket programming for data comunication etc?
zakirhussain at 2007-11-9 13:56:29 >
# 3 Re: How to develope client/server application through sockets?
The problem is that when I try to ping DOS PC from WINXP one the message says: 'Destination Host is unreachable'. Questions in my mind are:
i) Is there any compatibilty problems with TCP/Ip versions or Sockets programs that are there on the two different platforms under discussion?

Yes there is compatibility problem if you use different IP version.
But IPV4 is commonly used up to now.

Looking at your error, it seems that packet can't reach destination because
of routing. Check your routing like this C:> route print and let me know.

ii) Do you think that the two pcs must ping each other once TCP/IP is loaded in the DOS PC before any kind of formal programming for data communication, I mean, without going to having a socket programming for data comunication etc?
No. It is not necessary for PCs to ping each other.

NOTE: Please remove same question in other thread.
henky@nok.co.id at 2007-11-9 13:57:39 >