AmsSocketBase