Hello,

If you use join, you need two parts:
rep5: read join snmp:[EMAIL PROTECTED]/GETnext/   "1.3.6.1.2.1.4.21.1.1.0"


>> p: open snmp:[EMAIL PROTECTED]/GET/
** Script Error: open-proto has no refinement called sub-protocol
** Near: open-proto/sub-protocol port 'udp
if none
>>

I don't know why you obtain this,  try:
>> help root-protocol
ROOT-PROTOCOL is an object of value:
make object! [
    port-flags: 0
    open-check: none
    close-check: none
    write-check: none
    init: func [
        "Parse URL and/or check the port spec object"
        port "Unopened port spec"
        spec {Argument passed to open or make (a URL or port-spec)}
        /local scheme
    ][
        if url? spec [net-utils/url-parser/parse-url port spec]
        scheme: port/scheme
        port/url: spec
        if none? port/host [
            net-error reform ["No network server for" scheme "is specified"]
        ]
        if none? port/port-id [
            net-error reform ["No port address for" scheme "is specified"]
        ]
    ]
    open-proto: func [
        {Open the socket connection and confirm server response.}
        port "Initalized port spec"
        /sub-protocol subproto <<<<<<< YOU will have this on your screen
if not, you have modified root-protocol object, or you have a wrong version
of Rebol or etc.


Ciao.
Vincent.






----- Original Message -----
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 05, 2002 7:07 AM
Subject: snmp rebol script




I'm working with your snmp rebol script and getting the following
error...any ideas what the problem is?

re

francois

if none
>>            rep5: read join
snmp:[EMAIL PROTECTED]/GETnext/1.3.6.1.2.1.4.21.1.1.0
** Script Error: join is missing its rest argument
** Near: rep5: read join
snmp:[EMAIL PROTECTED]/GETnext/1.3.6.1.2.1.4.21.1.1.0
>> p: open snmp:[EMAIL PROTECTED]/GET/
** Script Error: open-proto has no refinement called sub-protocol
** Near: open-proto/sub-protocol port 'udp
if none
>>

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to