NetLingo and MultiUser Xtra, can help you to communicate with
a server (or another app over internet). You can establish a
connection in many ways outside director too: Sockets, XML(present
in director too!), even POST HTTP methods.
I recommend you sockets for time critical games, otherwise
XML (it is more simple to implement).