Solstice X.25 9.2 Developer's Guide

13.2 Compilation Instructions and Sample Programs

To use the 7.0 socket interface, user programs should be linked against libsockx25 stored in /opt/SUNWconn/lib. Use the -L option to link the /opt/SUNWconn/lib directory into your program. A program named test can be linked against the socket library as follows:


hostname% cc -o test test.c -L/opt/SUNWconn/lib -lsockx25 -lsocket -lnsl

You can find sample programs for the 7.0 socket interface in /opt/SUNWconn/x25/samples.socket.