<?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[Created QTcpSocket object in main() and calling write function of socket in another QThread]]></title><description><![CDATA[<p dir="auto">Created QTcpSocket object in main() , on receiving data I am connecting to a slot which is part of another QThread (used movetoThread function) . I am able to invoke function But tcpsocket is not calling write function . It seems tcpsocket object is not exist inside Qthread slot.</p>
]]></description><link>https://forum.qt.io/topic/107354/created-qtcpsocket-object-in-main-and-calling-write-function-of-socket-in-another-qthread</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 06:18:24 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/107354.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 01 Oct 2019 16:32:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Created QTcpSocket object in main() and calling write function of socket in another QThread on Tue, 01 Oct 2019 17:39:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kyadav">@<bdi>KYADAV</bdi></a></p>
<p dir="auto">QTcSocket is asynchronous. In 99% of cases you are better using it without a thread.</p>
<p dir="auto">Regarding your problem: can you show your code?</p>
<p dir="auto">Regards</p>
]]></description><link>https://forum.qt.io/post/553838</link><guid isPermaLink="true">https://forum.qt.io/post/553838</guid><dc:creator><![CDATA[aha_1980]]></dc:creator><pubDate>Tue, 01 Oct 2019 17:39:48 GMT</pubDate></item></channel></rss>