--- In [email protected], Alex Peters <[EMAIL PROTECTED]> wrote:

> > http://www.spread.org/

<...snip...> 

> I don't understand much of the page but it certainly doesn't look
wrong. 
> Mainly what would be ideal for me is something along the lines of:
> 
> Plugin.listen(?".ProcessIncomingData", portNumMaybe)
> Plugin.closePort(optionalPortNum)
> 
> to set up a listening connection and optionally specify the port on 
> which to listen for data. It would be nice if any data could be sent as 
> opposed to just PowerPro commands and if some custom command could be 
> run at the time of receipt.

Just like pipe.listen_on(....,var_name).  See docs 10.1
  
> Plugin.isListening(?"computer name or IP", optionalPortNum)
> ; returns 1 or 0?
> 
> This may or may not be useful -- I suppose you could just try to send a 
> message and see what the response is like.
> 
> Plugin.send(?"computer name or IP", myData, optionalPortNum)
> ; returns some integer
> 
> So it probably isn't too different from the Pipe plugin's functionality 
> except for the way the work is done over the network.
> 
> The applications of the above would be endless (especially if one could 
> listen on multiple ports).

The spread business only listens to spread daemon traffic.  

It's not a generalised port listener: it would be mainly useful for 
comms between Powerpro installations on different machines (could also
be used for comms between Powerpro and anything else that could route
to spread: I think it's easy to construct a batch file that can send a
message to a spread node, for instance.  There's also a Perl binding
for spread.
  
That sound useful? 






Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to