http://help.adobe.com/ru_RU/FlashPlatform/reference/actionscript/3/flash/net/Socket.html