Hi, all

Get-modes does not return a valid result in case like this:

    port: open/direct http://www.rebol.com
    type? get-modes port 'network-modes ;==unset!

If you trace it, you can see the result returned by the sup-port:

>> get-modes port 'network-modes ;==unset
Trace:  get-modes (word)
Trace:  port (word)
Trace:  'network-modes (lit-word)
Trace:  system/words/get-modes (path)
Trace:  port/sub-port (path)
Trace:  modes (word)
Result: [network-modes: [type-of-service keep-alive receive-buffer-size
send-buffer-size no-delay interfaces
async-modes]] (block)
Result: (unset)

The sub-port result is dropped.
The same happens with a single valid flag:

>> get-modes port 'keep-alive ; ==unset!

;trace it:

>> get-modes port 'keep-alive
Trace:  get-modes (word)
Trace:  port (word)
Trace:  'keep-alive (lit-word)
Trace:  system/words/get-modes (path)
Trace:  port/sub-port (path)
Trace:  modes (word)
Result: [keep-alive: true] (block)
Result: (unset)

---
Ciao
Romano

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to