Client-server software to verify TCP socket connection through a defined host and port