Attempt a connection on the port and return the result: <?php function Connect($port) { $serverConn = @stream_socket_client("tcp://127.0.0.1:$port", ...
more
more
Home »Unlabelled » apache - See if a server is listening on a port in PHP? - Stack Overflow
Posted by Unknown on Saturday, April 26, 2014
2010 All Rights Reserved Php programming tips.
» Php programming tips: apache - See if a server is listening on a port in PHP? - Stack Overflow
{ 0 comments... » apache - See if a server is listening on a port in PHP? - Stack Overflow read them below or add one }
Post a Comment