# How can Flash communicate with servers?

**URL:** <https://forum.kirupa.com/t/how-can-flash-communicate-with-servers/296342>\
**Category:** flash\
**Created:** [September 13, 2009, 11:07pm UTC](https://forum.kirupa.com/t/how-can-flash-communicate-with-servers/296342 "2009-09-13T23:07:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zeldalink](https://avatars.discourse-cdn.com/v4/letter/z/94ad74/32.png) [@zeldalink](https://forum.kirupa.com/u/zeldalink)\
**Post date:** [September 13, 2009, 11:07pm UTC](https://forum.kirupa.com/t/how-can-flash-communicate-with-servers/296342/1 "2009-09-13T23:07:43Z")

</div>

I’d like to know the different methods in which actionScript 2 can communicate with servers. But with the introduction of AS3, most of the info online is regarding ByteArrays and the “[flash.net](http://flash.net)” package which allows any protocol to be built over TCP.

I’m really after ways for servers to communicate to clients (push) without them HTTP polling, and so I need to look into any possible method of client \<\> server communication in Flash AS2.

[LIST]  
[_] **XMLLoader** - reads contents of generated XML/data  
[_]**[XMLSocket](http://en.wikipedia.org/wiki/XMLSocket)** - How does this work? keeps an open HTTP connection? or uses a TCP protocol to exchange XML?  
[_] **Remoting** - How does this work?  
[_]**[AMFPHP](http://www.amfphp.org/)** - How does this work? AS3 Socket connections?  
[/LIST]
