Recently I created an instant messenger.

The IM Server runs on one pc, and the Clients run on various others.

The Client is able to connect to the Server, ONLY because it knows the Server's IP address.

The Problem is that everytime the PC with the IM Server reconnects, it gets a new IP address. And the Clients Don't know this New IP Address.


Please any advice or comments are welcome, I'm clueless on this topic.
Thanks!