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 TIBCO SmartSockets header files are located in these directories:
Include header files with the angle-bracket syntax. For example, when using C, this inclusion line is used:
Use of the angle-bracket syntax is preferred over the use of double-quotes, as shown here:
or
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™ Application Programming Interface Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |