this simple client connects to an ibm-host i390, and now to my problem: i compiled and build the exe on a nt4.0 machine and also on a w2k machine. the code works fine with this 2 types of operating systems, but under winxp it doesn't work. the execution of the code stops at the connect to server line rs=connect.....
with my error message cannot connect.....
i need this little programm and it must be useable with winxp, has anybody got some ideas? is this code wrong or are there some special tricks for winxp-sockets?

1. Since Win95 & probably the NT version just before that, Windows has been migrating away from .ini files over to the Registry. So I would expect to see support for .ini files to be disappearing. However, I doubt that it would have happened this abruptly. You might want to echo out the data you are reading from the .ini file just to be sure.

2. There are issues over Winsock versions that have come up, but for which I don't quite remember. You are requesting version 1.1. Try version 2.0 and see if that works:
WSAStartup(MAKEWORD(2,0), &winsock_data);