MLActivate()
int MLActivate(MLINK link) activates a MathLink connection, waiting for the program at the other end to respond.
MLActivate() can be called only after MLOpenArgv() or MLOpenString(). See The Mathematica Book: Section 2.12.14.