JADE (NetBeans IDE 6.8) and Rev Studio 4.0

Mark Wieder mwieder at ahsoftware.net
Fri Mar 19 20:05:30 EDT 2010


zeeshan-

Friday, March 19, 2010, 4:32:31 PM, you wrote:

> how?

You've already got the server code in JADE...

assuming both are on the same computer and you're still using port
6800 on the server, in a runrev button put the script:

on mouseUp
    open socket "localhost:6800" with message "socketConnected"
    write "hello, server" & cr to socket "localhost:6800"
end mouseUp

on socketConnected
  put "connected to server!"
end socketConnected

If they're on different machines then change "localhost" to
"192.168.0.101" or whatever the ip address of the server is.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the use-livecode mailing list