Sometimes it is useful to identify sides of a MathLink connection prior to setting up packet-based communication. Using MLSetEnvIDString() the developer can give an identification string for a program that will be exchanged every time a link is established with another program. MLGetLinkedEnvIDString() retrieves the other side of the link's name.
MLReleaseEnvIDString() is declared in the MathLink header file mathlink.h.