Socket conn. check script.