Sockets n games?

anyone have any tutorials on using sockets and working it with games? I’ve been asking since I joined here and all people can tell me is to use sockets to have more then one person on a flash page. Can someone provide me with some code / tutorial that would be helpful. Thanks.