activates a WSTP connection, waiting for the program at the other end to respond.
- LinkActivate takes a LinkObject, which is typically produced by LinkConnect or LinkCreate.
- If the other side of the link has not yet been created, then the behavior depends upon whether the link was created by LinkCreate or LinkConnect. If the link was created, then LinkActivate will wait for the link to be both connected and activated. If the link is a connecting link, then LinkActivate will immediately return $Failed and close the link.
- LinkRead, LinkWrite, and related calls implicitly activate the links on which they send or receive data.
- The basic form of LinkActivate corresponds to the WSTP library function WSActivate().
Basic Examples (2)
Activating the link fails and closes the failed LinkObject:
Introduced in 1996