Several important header files are needed to compile and link with SmartSockets. These files are normally included in C/C++ code with the #include
C/C++ preprocessor directive. The SmartSockets header files are in these directories:
Header files should be included with the angle-bracket syntax. For example, when using C, this inclusion line is used:
Use of the angle-bracket syntax is preferred over double-quotes, such as:
On UNIX, using angle brackets requires using an argument to the C++
command:
On OpenVMS, the logical RTWORKS
directory is RTHOME:[INCLUDE.RTWORKS]
so that DEC C++ uses that directory for <rtworks/ipc.h>
.
On Windows, add the SmartSockets include directory %RTHOME%\include\rtworks
to the list of Visual C++ Developer Studio project include directories. There are several example Visual C++ makefiles in %RTHOME%\examples\smrtsock\manual
that you can use as a starting point for your application executables.
TIBCO SmartSockets™ Utilities Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |