I don't remember who to thank for this one, which I modified only
slightly:
on testForConnection
put "255.255.255.255:43222" into testSocket
open datagram socket to testSocket
put hostAddress(testSocket) into theIPAddress
close socket testSocket
if theIPAddress is "127.0.0.1" then
--it's the local machine address, so not connected
--may insert connection routine here
end testForConnection
-Kurt
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution