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

[REBOL] Status of POP port

From: armbruster::vistar::ca at: 5-Oct-2001 11:00

Is there an easy way to get the status (open/closed) of a POP port. After a little experimenting I notice that I can open the same port more than once but then only close one of them, even though the TCP connection for the first stays open, closing after it eventually times out. I would like to be able to check the status before requesting a new open.
>> mail: open popsvr
connecting to: mail.vistar.ca
>> mail: open popsvr
connecting to: mail.vistar.ca
>> close mail >> close mail
** Access Error: Port none not open ** Near: close mail