This is just called by DoLinking in order to get the temporary Link to route in the way expected as if it really were being connected to iport. Remember that the endport might be either the "FromPort" or the "ToPort" of a link, depending on the direction the link is being drawn, as given by the value of Forwards.