Function AsyncSocket.state

abstract SocketState state() @property;