Hi again,

Lately I'm doing socket programming, as far I can tell it works fine.
the problem is that how do I know if a server (on the box) is running.
The gethostbyname() will only detect if a IP address exist or is currently running.

The only idea that I have is, after gethostbyname() and a successful connect() my program will send some sort of message, then the (workspace)server will then send a valid response. If no valid response is recieve then the process will start all over again.

is this the way to go, just to know if a (workspace)server is running or there is another way ?

regards,
jaro