Use the Pipes protocol on Unix or Mac OS X to launch a link:
| Out[1]= |  |
The link name contains the pathname and command-line arguments to use to connect to the link:
| Out[2]= |  |
Use the TCPIP protocol to create a link:
| Out[1]= |  |
The link name contains the port and hostname pairs to use to establish the TCP connection:
| Out[2]= |  |
Use the SharedMemory protocol to create a link:
| Out[1]= |  |
The link name contains the name of the shared memory object:
| Out[2]= |  |
Declare a const char * variable and get the link name:
#include "mathlink.h"
/* read a link's name */
const char * f(MLINK lp) { return MLLinkName(lp); }
|