creating a chat system with multiple "Servers"

I want to create a chat system(without the chat system being linked to a game) which can have multiple “servers”, And someone can just choose to create a new server from their device, which will then create a completely new chat. So, All I need is a system by which a unity app can output strings to any other unity App, And then receive strings from any unity App. Is there any way to do this, or is there an easier way? Thanks in advance for any help.

Might be worth using IRC for that

Never mind, I worked it out, Just use networkdiscovery coupled with a networkmanager, It works great.