Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: MathLink portnumbers and internal types


  • To: mathgroup@smc.vnet.net
  • Subject: [mg10977] Re: MathLink portnumbers and internal types
  • From: kevinl@wolfram.com (Kevin Leuthold)
  • Date: Sun, 15 Feb 1998 02:10:42 -0500
  • Organization: Wolfram Research, Inc.
  • References: <6c3abl$10d@smc.vnet.net>

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 "port@machine.name", 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


f94stbe@dd.chalmers.se (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.




  • Prev by Date: Help
  • Next by Date: Automatically loading package question
  • Prev by thread: Re: MathLink portnumbers and internal types
  • Next by thread: Re: Re: MathLink portnumbers and internal types