I've got a client/server setup going at the moment that I would like to convert from using mailslots to using TCP/IP.
Basically, the reason I used mailslots was that the client and server would not be on a predefined machine. The mailslots could be used to broadcast, systemwide, to request clients to report their location, the mail message holding the server's location. That way, there was no problem.
If I was to have a server and a client that both used TCP/IP instead, how would I impliment this?
(The client's will be sat there, doing nothing, and need to be told - "Hey, the server's online and here's its IP address." so that they can connect as and when required, to wherever.)
This is all on an NT network, within the same domain.
BTW. I will happily accept an example of enumerating every local PC and attempting to connect on a specific port number which the client and server both use - I just need some help coding it as I've never done any TCP/IP stuff before.