Andre's post: Rev and the Web...
briany at qldlearning.com
Fri Dec 26 03:10:07 CST 2008
It sounds like what you need to start with are socket commands. Check
out the accept, open socket, write to socket, read from socket
commands. This should give you a place to start playing around with
simple client / server communication. There are many gaming servers
written in Java which use socket communication.
accept connections on port 9000 with message "gotConnection"
on gotConnection pSocket
read from socket pSocket ...
write "bla bla" to socket pSocket ...
open socket to "my.ip.address:9000"
write someData to socket ...
read from socket ...
Once you figure out how to send some small text messages, you can
start looking at the different options for the socket commands, and
thinking about what your protocol might look like.
> Id like the simple answer. In script i have to write ?? to send a
> message to a project on a server. What script would need to be on
> the recieving end? It is that simple. No?
More information about the use-livecode