Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*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 1999

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

Search the Archive

Re: Win32 MathLink .exe from Matheamtica 3 on a Mac

  • To: mathgroup at smc.vnet.net
  • Subject: [mg19303] Re: Win32 MathLink .exe from Matheamtica 3 on a Mac
  • From: miyaji at taiiku.tsukuba.ac.jp (Chikara MIYAJI)
  • Date: Sat, 14 Aug 1999 01:45:24 -0400
  • Organization: University of Tsukuba
  • References: <7or61l$15o@smc.vnet.net> <7ouvkm$osf$3@dragonfly.wolfram.com>
  • Sender: owner-wri-mathgroup at wolfram.com

>In article <7or61l$15o at smc.vnet.net>, "Andrew Cunningham"
<andrewc at vasci.com> writes:
..
>>- I run the Mathlink .exe on the PC. A dialog box comes up asking for
the
>>link , I type "5000" so that I assume it creates a link on TCP port
5000.

No. it isn't. When you use the dialog to set the link name for PC, its
link protocol
 is FileMap. Even you set a number, it is not a TCP port number. Also,
you did same way
on Mac, it was a AppleTalk port name, not a TCP port.

My suggestion for your use,

1) Build the MathLink program as a command line interface, not a Window
  interface on PC.

2) Run it from your DOS window,
  % yourprog -linkname 3000 -linkprotocol TCP -linkmode listen

3) Then connect it from the Mac,
   LinkOpen["3000 at PC's_IP", LinkMode->Connect, LinkProtocol->"TCP"]


  • Prev by Date: cell group closure and dingbats (was: What I try to ask is ...)
  • Next by Date: Re: Defining a function P[A_ | B_]:=f[A,B] overriding Alternatives
  • Previous by thread: Re: Win32 MathLink .exe from Matheamtica 3 on a Mac
  • Next by thread: Re: Win32 MathLink .exe from Matheamtica 3 on a Mac