Is it possible to do a simple code to just see if an IP is accepting connections on a given port rather than pinging an IP to see if the computer its self is up? I want to make a program to check the status of a server while keeping the server secure from ICMP ping traffic. I need it to just test to see if a connection is possible and report back if it can connect or not. No fancy commands no receiving data over the connection or anything.. Just identify if the port is indeed open.
Is this po