Follow these steps to compile and link a sockets API application using the IBM VisualAge C++ compiler:
icc /Gm /c myprog.c
For VisualAge C++
ilink /NOFREEFORMAT myprog,myprog.exe /STACK:0x4000
Note: For more information about the compile and link options, multithreaded libraries, and dynamic link libraries, refer to the User's Guide provided with your compiler.