Search for Real-time communication servers, formerly known as chat servers or IRC Servers, and still sometimes referred to as instant messaging (IM) servers, enable large numbers users to exchange information near instantaneously. 
 
You may also give this short discussion a read for the same query: https://www.quora.com/Which-type-of-server-is-used-in-chatting-apps