Which is faster - SharedObject or XMLSocket?

I’m trying to make a multi-player game. Should I use SharedObject, which I find REALLY simple, or XMLSocket to make the users communicate with the server? Which will be the faster option?