Socket Server

Hi, I want to create mulitplayer flash games but I dont know how to install a xml socket server properly. I have my own site hosted on my machine using apache2.

I tried to use CommServer and installed and configured it, however when I tried to connect to the server from a client hosted on my site it wouldnt work. I dont know what the problem is and feel totally out of my depth.

Please could anyone help me install and run an xml socket server.