consumeSocketsState