Re: MathLink portnumbers and internal types
- To: firstname.lastname@example.org
- Subject: [mg10977] Re: MathLink portnumbers and internal types
- From: email@example.com (Kevin Leuthold)
- Date: Sun, 15 Feb 1998 02:10:42 -0500
- Organization: Wolfram Research, Inc.
- References: <firstname.lastname@example.org>
Stefan, The function MLName will return a pointer to the link name. This memory should be considered read-only (so don't deallocate it). The return value will be in the form "email@example.com", so you can get the port from this string. Here is the prototype for MLName: char* MLName( MLINK lp); Kevin Leuthold MathLink Group Wolfram Research firstname.lastname@example.org (Stefan Berglund) writes: >I wish to have a process to communicate via mathlink peer to peer to a >remote computer. The problem is that I a start new mathlink >connections as needed from forked processes and I have found no way of >telling wich portnumber has been chosen.