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.