Page 1 of 1

AUX connecion

Posted: Wed Apr 05, 2006 8:11 am
by CrazyMan
1. How i can from aux connection script close connect?
2. How i can use one scripts for many connection simultaneously ?

Tnks.

Posted: Fri Apr 07, 2006 12:34 pm
by tekproxy
1. I am not sure what you mean. Do you want to know how to make an aux script close the connection? Does this example help?:

Code: Select all

program auxControl( connection )
  print( "Aux control: Connection established." );

  while ( connection )
    // Do stuff
    connection := 0;
  endwhile
  
  print( "Aux control: Connection closed." );
endprogram
2. I do not see how a script could NOT handle many connections. Could you perhaps show some of your code?