# XMLsocket (how/what ?)

**URL:** <https://forum.kirupa.com/t/xmlsocket-how-what/195428>\
**Category:** flash\
**Created:** [July 31, 2006, 7:07pm UTC](https://forum.kirupa.com/t/xmlsocket-how-what/195428 "2006-07-31T19:07:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vintage](https://avatars.discourse-cdn.com/v4/letter/v/e68b1a/32.png) [@vintage](https://forum.kirupa.com/u/vintage)\
**Post date:** [July 31, 2006, 7:07pm UTC](https://forum.kirupa.com/t/xmlsocket-how-what/195428/1 "2006-07-31T19:07:31Z")

</div>

Hi all, Im completely new with socket stuff and I allready did some  
googling, but I cannot find an answer (that I understand).

What I try to do is make a RSS reader in flash that plays a sound when the RSS feed is changed.  
In an older version I reloaded the xml via a little timer, but what I  
understand about this socketthingy is that it keeps an open connection with the server/feed?

Am I correct that this socket parses data (or smth) as soon as the xml  
changes ? If yes, why dont this work ? (it does after loading, but  
not if the swf is running and the xml is changed)

```auto

var xmlTracker:XML = new XML();
xmlTracker.ignoreWhite = true;

xmlTracker.load("http://www.sitemasters.be/rss/xml/forum.xml");
xmlTracker.onData = function(data) {
    trace(data);
};

```

Can someone tell me if it really keeps an open connection, and if the data will be updated if the xml changes (and how ?)  
TIA
