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: [mg19317] Re: Win32 MathLink .exe from Matheamtica 3 on a Mac
  • From: "Andrew Cunningham" <andrewc at vasci.com>
  • Date: Sat, 14 Aug 1999 23:42:49 -0400
  • Organization: Vibro-Acoustic Sciences Inc.
  • References: <7or61l$15o@smc.vnet.net> <7ouvkm$osf$3@dragonfly.wolfram.com> <7p30vb$aqf@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Thanks,
I finally understand what is happening and it works great now.
Andrew
--

----------------------
Andrew Cunningham
Vibro-Acoustic Sciences Inc
http://www.vasci.com
mailto: andrewc at vasci.com

----------
>From: miyaji at taiiku.tsukuba.ac.jp (Chikara MIYAJI)
To: mathgroup at smc.vnet.net
In article <7p30vb$aqf at smc.vnet.net>, miyaji at taiiku.tsukuba.ac.jp (Chikara
MIYAJI) wrote:


>>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: Re: Element Extraction
  • Next by Date: Re: Element Extraction
  • Previous by thread: Re: Win32 MathLink .exe from Matheamtica 3 on a Mac
  • Next by thread: Re: Defining a function P[A_ | B_]:=f[A,B] overriding Alternatives