I don't know of a direct way in Rev to disallow outside connections, but you could probably do it at script level:

accept connections on port xxx with message "newconnect"

...

on newconnect s
    if peerAddress(s) is not "127.0.0.1" then close socket s
    else
       ...
    end if
end newconnect

HTH

Using accept connections is there any way to restrict the connections to come from localhost (ie a particular interface)?

Should I use:

open socket to "127.0.0.1:732" with message "newconnect"

Rather than accept?

_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to