# XMLSocket

**URL:** <https://forum.kirupa.com/t/xmlsocket/111004>\
**Category:** Uncategorized\
**Created:** [May 21, 2004, 11:50pm UTC](https://forum.kirupa.com/t/xmlsocket/111004 "2004-05-21T23:50:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![crazygamer](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@crazygamer](https://forum.kirupa.com/u/crazygamer)\
**Post date:** [May 21, 2004, 11:50pm UTC](https://forum.kirupa.com/t/xmlsocket/111004/1 "2004-05-21T23:50:54Z")

</div>

i’m using a php socket server (which is working fine, i tested it already) to make a flash chat. I have gotten my script to recieve stuff from the server, but it can’t seem to send it…i’m using

```auto
socket = new XMLSocket();
socket.connect("myserver",port);
socket.send("blah");

```

I have set up a function to recieve what the server sends…and it just sends back whatever i send it…but when i send my message my flash movie recieve my message back.  
Does anyone know if there are any loopholes to the XMLSocket.send, or if i’m doing something wrong?
