I allow the use only if it is a contribution to class subject, i then am careful to walk and pay attention to the students that are getting lost in cyberspace or text chats. If i note some one with this behaviour i ask a question , or propose a change of delivery, directed to the student in question.