Thanx Silver, but can you explain me, how realize this with Visual Studio 6.0:
Some MPE/iX include files expect certain variables to be defined. For example, <types.h.sys> expects SOCKET_SOURCE to be defined. Defines are declared in a C program by using #define; however, instead of modifying source code, a define can be declared at runtime.
The following example shows how to compile the program:
Code:
:ccxl sourcepg,obj,listing;info="-Aa &
-D_SOCKET_SOURCE -D_POSIX_SOURCE"
The following example shows how to link the program:
Code:
:link from=obj;rl=^rllist;to=prog
The following RLLIST file was used in linking the above program:
socketrl.net.sys
libcinit.lib.sys
Note: Ensure that you link with the POSIX library (/lib/libc.a) instead of libcinit.lib.sys for POSIX programs. If you are using fork(), you need to link with PH capabilities.
P.S
and, I have no socket.h on my computer

I want to use Berkeleys Sockets, because they will work with win32 and *nix