Resticting ports to a given interface (ie localhost)....

David Bovill david at opn-technologies.com
Wed Apr 21 22:29:33 EDT 2004


Been taking a look at the code Pierre (Hi...) posted for running Rev as 
a server so it can accept messages from a CGI process written in a 
language such as php....

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?


More information about the use-livecode mailing list