Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Using 'wait with a series of ports

From: maarten:vrijheid at: 14-Nov-2003 10:40

Hi
> Code: > > server: open/lines tcp://:23 ; listen for connections > clients: copy [] > insert clients server > > Then obviously client/1 = server > > But if lower down I have... > > connection: wait/all clients
either server = connection [ it 's the server that has a new client ready, do a first server etc] [ if not it is a client ] I think this was in my original sample script as well I replied earlier? You can also do: Clients/1 = connection Or if you really wnat to complicate things: Not 1 = index? Find clients connection --Maarten