This version of the socket++ library has been compiled with IBM's Visual Age C++ compiler. It has been linked to the socket libraries that come with the IBM developer's Toolkit for OS/2 Warp Version 4, version 4.00.1. IBM recommends the following compiler options when linking to their socket libraries:
icc /Ti /DOS2 /Sm /Ss /Q /Gm /Gt /Tdp /C myprog.c
If you have an earlier version of IBM TCP/IP libraries, that
do not support removesocketfromlist
or addsockettolist
you should recompile all the libraies using the option:
/DNOTOLIST
.
IBM recommends the following command for linking, or link using the icc
command.
link386 /De myprog,myprog.exe,NULL,so32dll.lib tcp32dll.lib /STACK:0x4000
The /De option includes the debugging information.
You must link to the IBM supplied libraries so32dll.lib
and tcp32dll.lib
. These are import libraries that link
to corresponding dll
. In addition you must link in the
code for socket++
using a library called sock.lib
.
Included with this distribution are two libraries. In the directory
lib
is a object library, sock.lib
.
In the directory dll
is
an import library sock.lib
and a dll sock.dll
. The dll
dynamically links in turn the IBM Visual Age class libraries so you
must have these libraries to use the included dll version.
Both of the provided libraries include
debugging information. Of course, you can create your own libraries
with any desired attributes from the source code that comes with
this distribution.
You should decide if you want to dynamically link to the Visual Age runtime libraries with /Ge+.