[Help] How to use Asterisk Manager API with AS3

Hi, i want to get the result of cli command “sip show peers”. Is it Possible using AS3 to get it,?

Can ActionScript 3 be used to create socket connections and send/receive text across that socket?