Hi Maarten,

Testing the /nostubs refinement, I got an error on the client side.

===The server code was

rebol []

print "Test de rugby"

do %/D/rebview/public/rugby/rugby.r
triple: func [n][3 * n]
double: func [n][2 * n]
serve/nostubs [triple double]

===The client code was

do get-rugby-service tcp://192.168.1.53:8001
** User Error: Rugby server error: Unsupported function: [get-stubs]
** Near: make error! rejoin ["Rugby server error: Unsupported function: "
    mold statement]

===However rexec has no problem

>> rexec/with [triple 15] tcp://192.168.1.53:8001
== 45
>> rexec/with [double 15] tcp://192.168.1.53:8001
== 30

===Is it a bug ?
If I am right the /nostubs refinement is intended to prevent functions from
being imported forcing the Client to use rexec ou sexec. However in my eyes,
the get-rugby-service should not give an error but do nothing.

Patrick

 
______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif


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

Reply via email to