> 
> My tinkering with Revolution has gotten to UDP.  I have been able
> get UDP working, so I think the above can be done in Revolution.
> However, I don't have a way to get the local IP, yet.  (Receiving
> UDP is weird; at least it is the way I did it.)
> 

Here is a script to get your local IP address and store it in a field:

local testSock

on mouseUp
  put line 1 of hostnametoaddress("yahoo.com")& ":80|testSocket" \
      into testSock
  open socket to testSock with message "socketReady"
end mouseUp

on socketReady pSock
  put hostAddress(pSock) into fld "Local IP address"
  close socket testSock
end socketReady

Cheers,
Sarah

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to