<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Get outgoing connections of an QProcess]]></title><description><![CDATA[<p dir="auto">Hey,</p>
<p dir="auto">I want to get the outgoing connections of an QProcess (or PID). I have heard something about netstat but I don't want to use a command line tool (only if there is no other way). Is there an way to solve this using Qt? Or do I need an 3rd Party library? Hope anyone can help.</p>
<p dir="auto">~ jan</p>
]]></description><link>https://forum.qt.io/topic/56140/get-outgoing-connections-of-an-qprocess</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 10:02:39 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/56140.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 07 Jul 2015 21:02:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Get outgoing connections of an QProcess on Wed, 08 Jul 2015 00:28:38 GMT]]></title><description><![CDATA[<p dir="auto">AFAIK there is not.  Not unless the process you are spawning writes information like that out to stdout.  Then you can read that and parse it.</p>
<p dir="auto">I have used a QProcess for running pppd and it outputs information about connections so I was able to parse that output for the info I need.</p>
<p dir="auto">But QProcess itself doesn't have any way of detecting what connections the process is making.</p>
]]></description><link>https://forum.qt.io/post/281469</link><guid isPermaLink="true">https://forum.qt.io/post/281469</guid><dc:creator><![CDATA[ambershark]]></dc:creator><pubDate>Wed, 08 Jul 2015 00:28:38 GMT</pubDate></item></channel></rss>