JimAultWins at yahoo.com
Thu Dec 7 18:19:58 EST 2006
On 12/7/06 12:26 PM, "Richard Gaskin" <ambassador at fourthworld.com> wrote:
> Richard Miller wrote:
>> The computer in question is not set up with networking.
You can do a very quick UDP working test --
Download Alex Tweedly's companion stacks from Rev Online,
UDP Echo Client & UDP-based Echo Server
...open both in one Rev IDE on either a Mac or Win and in three mouse clicks
watch it work with client and server action. No internet or LAN required
for same machine operation.
I use this for same-machine and same-Local-network and wide-area-network.
Basically it is like file writing
--send from app A --
open datagram socket "127.0.0.4545"
write "text for another app, from userEntry" to socket "127.0.0.4545"
--listen in app B --
open datagram socket "4545" with message "gotSumtin"
on gotSumtin host, socket, messageSent
put messageSent -->( "text for another app, from userEntry")
LAN would need the IP of the listening machines
WAN would need IP of the routers (static IP's) to send
To send to more that one app on one machine
open datagram socket "18.104.22.168:4666"
write "text for another app" to socket "22.214.171.124:4666"
open datagram socket "126.96.36.199:5556"
write "text2 for another app" to socket "188.8.131.52:5556"
More information about the Use-livecode