You could take a look here, it was a long time ago and requires AutoIt but gets the job done Net Send Scripting

But when you want something centralized you have to look at sockets (.net implements socket support as well, just bother Shawn to add it) or use kixforms 2.x (find the chatclient and chatserver samples at shawn's board) or use an SQL/Access Database.