MathGroup Archive 2002

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

Search the Archive

Re: talk to arbitrary programs

  • To: mathgroup at smc.vnet.net
  • Subject: [mg34342] Re: [mg34325] talk to arbitrary programs
  • From: jmt <jmt at dxdydz.net>
  • Date: Thu, 16 May 2002 05:08:23 -0400 (EDT)
  • References: <200205150735.DAA23786@smc.vnet.net>
  • Reply-to: jmt at dxdydz.net
  • Sender: owner-wri-mathgroup at wolfram.com

Running arbitrary programs using Run is platform dependant.

MathLink is certainly the most configurable tool to use, but complicated.

JLink is certainly the solution you should try.

On Wednesday 15 May 2002 09:35, Maarten Rosmeulen wrote:
> Hi,
>
> I've searched the mathgroup and mathsource archives for this question:
>
> "Is there a way for mathematica to talk to arbitrary (not just mathlink
> compatible) programs over TCP/IP sockets?"
>
> This very same question was posted to mathgroup on 30 April 1999 by Daniel
> Reeves. I contacted Daniel to ask him if there is an *easy* way to do this
> under Ms Windows. Daniel advised me to use J/link, but that's still too
> complicated to my taste. I did'n find anything relevant on google or
> mathsource...
>
> Let me show you what kind of thing I was thinking of. I tried this:
>
> !"telnet machinename socketnumber"
>
> and
>
> Run["telnet machinename socketnumber"]
>
> I managed to open a connection, but how do send or read data?
>
> Maarten Rosmeulen
>
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


  • Prev by Date: extracting variable values from built-in function FindMinimum
  • Next by Date: integrating matlab compiled code into Mathematica
  • Previous by thread: talk to arbitrary programs
  • Next by thread: Re: HTMLSave