PBChat

This program shows how you can add a Chat feature to your application without needing a Chat server. It uses my Winsock object to communicate directly between each client.

In a real application you will need some way to get a list of ipaddresses or hostnames for all the users of your application. If your using Sybase ASE or Microsoft SQL Server, you can use the Hostname logon parm and then use a SQL statement similar to that found in sp_who.


Win API Functions used: All those in the Winsock object.


——— Last updated 02/08/2012 ———