# Flash as2 chat, with sockets.

**URL:** <https://forum.kirupa.com/t/flash-as2-chat-with-sockets/634568>\
**Category:** flash\
**Created:** [May 2, 2016, 8:23am UTC](https://forum.kirupa.com/t/flash-as2-chat-with-sockets/634568 "2016-05-02T08:23:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan\_Farrell](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Ryan\_Farrell](https://forum.kirupa.com/u/Ryan_Farrell)\
**Post date:** [May 2, 2016, 8:23am UTC](https://forum.kirupa.com/t/flash-as2-chat-with-sockets/634568/1 "2016-05-02T08:23:51Z")

</div>

Hello I followed a tutorial [here](https://www.kirupa.com/developer/flash8/php5sockets_flash8_5.htm)  
but I can’t get the socket.bat to work.  
I think it may be due to the version of php I am running.  
I am posting my current code. hopefully someone can show me what Im doing wrong.

[source](https://mega.nz/#!dpU2zYzS!xc9mxPtuEn-8dGrLGLmNVlYj2yCa9bvGYGjPRGVS0Ek)
