Do have an idea about how two RunRev stacks could communicate with each other over the internet directly, i.e. without an intermediate server? What protocol would one use, how send messages from one stack to the other over the web?
Thanks
Client to Client
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Client to Client
This is quite possible. The easiest way is to make up your own protocol using the socket commands (open, accept, read from socket, write to socket), just as I did with chatrev. Note that client to client is a simplification for: every client is a server too. Sockets always have a server, and when both sides _could_ be the server, that is normally when "client to client" is said. Finally "the web" usually means http and html over port 80 (wold wide web), and not the tcp/ip (or udp) network.
I'm sure you'd get more detailed information if you say what your goal is, instead of wether a technology is available to rev.
I'm sure you'd get more detailed information if you say what your goal is, instead of wether a technology is available to rev.
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
Re: Client to Client
Hi BvG,
thanks for your explanations. I'm glad that my goal appears so easy to reach. I would like to add some kind of online tournament capability to a game that is running as a single-"player" standalone only at the moment. Your pointers have provided me with enough information for a start, but if I should happen to run into any obstacles, may I contact you again?
Regards
thanks for your explanations. I'm glad that my goal appears so easy to reach. I would like to add some kind of online tournament capability to a game that is running as a single-"player" standalone only at the moment. Your pointers have provided me with enough information for a start, but if I should happen to run into any obstacles, may I contact you again?
Regards
Re: Client to Client
Sure.
Chatrev is always up, and sometimes i even am nat my computer and respond to queries when asked (hint: wait more then a few seconds for answers)
Chatrev is always up, and sometimes i even am nat my computer and respond to queries when asked (hint: wait more then a few seconds for answers)

Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode