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

[REBOL] Re: Advanced port stuff

From: ptretter:primary at: 5-Jan-2001 13:18

When I say literal words I mean the actual set-word! that is used to define the port object. That is what I am trying to retrieve from the waitports block. For example when a user on irc initiates a dcc chat session with my script it takes their ip address and port and opens a connection (port) to that client. It must be able to monitor the incoming data so what I did was create a set-word! datatype from the users nickname on IRC and assign the dcc port object to that set-word! I then append that to the waitports block so I can monitor incoming data on that port. For example if my nick on IRC is REBMASTER then my script would make a set-word! datatype from REBMASTER so that I could assign it to the port scheme of the actual user REBMASTER. Then it would insert REBMASTER port object into the waitports block. So in turn waitports would contain all ports including the main irc-open-port that I connected the script to IRC with in the first place. The problem is that when I probe waitports I only see IRC-OPEN-PORT and dont see REBMASTER. I do see REBMASTER's object in the block but not the literal word REBMASTER anywhere. However if I do : found? find waitports rebmaster == true Its there but I dont have any other way of see which object is assigned to it or have any idea on how to close that object. Paul Tretter