Using popen to get stdout Posted on April 12, 2015 by Carlos Reply This is an example to check connection state for a specific port number. It returns command output. Continue reading →