<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Python socket &#8211; chat server and client with code example	</title>
	<atom:link href="https://www.binarytides.com/code-chat-application-server-client-sockets-python/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.binarytides.com/code-chat-application-server-client-sockets-python/</link>
	<description>News, Technology, Entertainment and more</description>
	<lastBuildDate>Fri, 13 Jan 2023 07:08:59 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
	<item>
		<title>
		By: VehiclesRumors		</title>
		<link>https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-267653</link>

		<dc:creator><![CDATA[VehiclesRumors]]></dc:creator>
		<pubDate>Fri, 24 Jul 2020 13:16:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=4631#comment-267653</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-224242&quot;&gt;SIMULATIONiQ&lt;/a&gt;.

Yes, this site is great]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-224242">SIMULATIONiQ</a>.</p>
<p>Yes, this site is great</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Epson WF-3640 Driver		</title>
		<link>https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-265131</link>

		<dc:creator><![CDATA[Epson WF-3640 Driver]]></dc:creator>
		<pubDate>Tue, 14 Jul 2020 12:03:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=4631#comment-265131</guid>

					<description><![CDATA[Very helpful his tutorial.. Easy to understand.. Thank]]></description>
			<content:encoded><![CDATA[<p>Very helpful his tutorial.. Easy to understand.. Thank</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Hp DeskJet Driver		</title>
		<link>https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-262246</link>

		<dc:creator><![CDATA[Hp DeskJet Driver]]></dc:creator>
		<pubDate>Fri, 03 Jul 2020 11:14:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=4631#comment-262246</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-227296&quot;&gt;Epson L3110 Driver&lt;/a&gt;.

yes fery good sharing information, tanks]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-227296">Epson L3110 Driver</a>.</p>
<p>yes fery good sharing information, tanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Epson L3110 Driver		</title>
		<link>https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-227296</link>

		<dc:creator><![CDATA[Epson L3110 Driver]]></dc:creator>
		<pubDate>Sat, 11 Jan 2020 16:22:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=4631#comment-227296</guid>

					<description><![CDATA[Very helpful his tutorial.. Easy to understand.. Thank]]></description>
			<content:encoded><![CDATA[<p>Very helpful his tutorial.. Easy to understand.. Thank</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: SIMULATIONiQ		</title>
		<link>https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-224242</link>

		<dc:creator><![CDATA[SIMULATIONiQ]]></dc:creator>
		<pubDate>Fri, 20 Dec 2019 09:24:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=4631#comment-224242</guid>

					<description><![CDATA[thanks for sharing this informative post.

SIMULATIONiQ™
https://www.simulationiq.com/]]></description>
			<content:encoded><![CDATA[<p>thanks for sharing this informative post.</p>
<p>SIMULATIONiQ™<br />
<a href="https://www.simulationiq.com/" rel="nofollow ugc">https://www.simulationiq.com/</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: sanjay		</title>
		<link>https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-199675</link>

		<dc:creator><![CDATA[sanjay]]></dc:creator>
		<pubDate>Fri, 21 Jun 2019 11:38:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=4631#comment-199675</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-118935&quot;&gt;Deniz&lt;/a&gt;.

while running the program gve script_file_name, hostname(ex:
127.0.0.1),port_no(ex:5000)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-118935">Deniz</a>.</p>
<p>while running the program gve script_file_name, hostname(ex:<br />
127.0.0.1),port_no(ex:5000)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: kodebaca		</title>
		<link>https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-199183</link>

		<dc:creator><![CDATA[kodebaca]]></dc:creator>
		<pubDate>Sat, 15 Jun 2019 03:19:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=4631#comment-199183</guid>

					<description><![CDATA[Thanks you for this &lt;a href=&quot;https://www.panduancode.com&quot; rel=&quot;nofollow&quot;&gt;tutorial&lt;/a&gt;]]></description>
			<content:encoded><![CDATA[<p>Thanks you for this <a href="https://www.panduancode.com" rel="nofollow">tutorial</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Kritika Garg		</title>
		<link>https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-156238</link>

		<dc:creator><![CDATA[Kritika Garg]]></dc:creator>
		<pubDate>Tue, 13 Mar 2018 17:31:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=4631#comment-156238</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-98759&quot;&gt;al&lt;/a&gt;.

same thing is happening to me.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-98759">al</a>.</p>
<p>same thing is happening to me.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: harish		</title>
		<link>https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-146993</link>

		<dc:creator><![CDATA[harish]]></dc:creator>
		<pubDate>Thu, 14 Dec 2017 17:31:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=4631#comment-146993</guid>

					<description><![CDATA[client goes offline once it runs]]></description>
			<content:encoded><![CDATA[<p>client goes offline once it runs</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ktulx		</title>
		<link>https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-146962</link>

		<dc:creator><![CDATA[ktulx]]></dc:creator>
		<pubDate>Thu, 14 Dec 2017 14:51:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=4631#comment-146962</guid>

					<description><![CDATA[If anyone wonders why the server does not handle a client disconnect properly:

just move or copy the lines 60-64 from &quot;except&quot; block up to the &quot;if - else&quot; block.

if data:
    broadcast_data(sock, &quot;\r&quot; + &#039; &#039; + data)     

else:
    broadcast_data(sock, &quot;Client (%s, %s) is offline&quot; % addr)
    print &quot;Client (%s, %s) is offline&quot; % addr
    sock.close()
    CONNECTION_LIST.remove(sock)
    continue



Very nice tutorial though, Silver Moon. Thanks a lot.]]></description>
			<content:encoded><![CDATA[<p>If anyone wonders why the server does not handle a client disconnect properly:</p>
<p>just move or copy the lines 60-64 from &#8220;except&#8221; block up to the &#8220;if &#8211; else&#8221; block.</p>
<p>if data:<br />
    broadcast_data(sock, &#8220;\r&#8221; + &#8216; &#8216; + data)     </p>
<p>else:<br />
    broadcast_data(sock, &#8220;Client (%s, %s) is offline&#8221; % addr)<br />
    print &#8220;Client (%s, %s) is offline&#8221; % addr<br />
    sock.close()<br />
    CONNECTION_LIST.remove(sock)<br />
    continue</p>
<p>Very nice tutorial though, Silver Moon. Thanks a lot.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sumit Aher		</title>
		<link>https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-145891</link>

		<dc:creator><![CDATA[Sumit Aher]]></dc:creator>
		<pubDate>Thu, 07 Dec 2017 12:29:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=4631#comment-145891</guid>

					<description><![CDATA[I am trying to implement Tcp server socket code which accepts n number of connections and process the data received from n number of clients. I am creating the multiple threads for processing the data. Currently multiple connections are creating but after 10-15 min the data is getting interchanged between the threads while processing. How do I fix this ? Please help me to resolve this issue.]]></description>
			<content:encoded><![CDATA[<p>I am trying to implement Tcp server socket code which accepts n number of connections and process the data received from n number of clients. I am creating the multiple threads for processing the data. Currently multiple connections are creating but after 10-15 min the data is getting interchanged between the threads while processing. How do I fix this ? Please help me to resolve this issue.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sumit Aher		</title>
		<link>https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-145890</link>

		<dc:creator><![CDATA[Sumit Aher]]></dc:creator>
		<pubDate>Thu, 07 Dec 2017 12:27:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=4631#comment-145890</guid>

					<description><![CDATA[I am trying to implement Tcp server socket code which accepts n number of connections and process the data received from n number of clients. I am creating the multiple threads for processing the data. Currently multiple connections are creating but after 10-15 min the data is getting interchanged between the threads while processing and resulting wrong output.How do I fix this ? Please help me to resolve this issue.]]></description>
			<content:encoded><![CDATA[<p>I am trying to implement Tcp server socket code which accepts n number of connections and process the data received from n number of clients. I am creating the multiple threads for processing the data. Currently multiple connections are creating but after 10-15 min the data is getting interchanged between the threads while processing and resulting wrong output.How do I fix this ? Please help me to resolve this issue.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: biruk		</title>
		<link>https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-135229</link>

		<dc:creator><![CDATA[biruk]]></dc:creator>
		<pubDate>Sat, 14 Oct 2017 13:42:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=4631#comment-135229</guid>

					<description><![CDATA[hi
if I want to get communication between two separate systems, not on a single , one as a server and the other as a cliant.
thanks!]]></description>
			<content:encoded><![CDATA[<p>hi<br />
if I want to get communication between two separate systems, not on a single , one as a server and the other as a cliant.<br />
thanks!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: paul		</title>
		<link>https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-124313</link>

		<dc:creator><![CDATA[paul]]></dc:creator>
		<pubDate>Wed, 19 Jul 2017 14:12:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=4631#comment-124313</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-124312&quot;&gt;paul&lt;/a&gt;.

i like how it works you run the server then you start the chat server
it&#039;s really  nice.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-124312">paul</a>.</p>
<p>i like how it works you run the server then you start the chat server<br />
it&#8217;s really  nice.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: paul		</title>
		<link>https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-124312</link>

		<dc:creator><![CDATA[paul]]></dc:creator>
		<pubDate>Wed, 19 Jul 2017 14:11:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=4631#comment-124312</guid>

					<description><![CDATA[wow your a great programer]]></description>
			<content:encoded><![CDATA[<p>wow your a great programer</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Deniz		</title>
		<link>https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-118935</link>

		<dc:creator><![CDATA[Deniz]]></dc:creator>
		<pubDate>Fri, 19 May 2017 12:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=4631#comment-118935</guid>

					<description><![CDATA[if(len(sys.argv) &#060; 3) :
        print (&#039;Usage : python chat_client.py hostname port&#039;)
        sys.exit()

Whenever I start the client program after I start the server program, the only output I get is the print of the if statement above. How can I make the program work ?]]></description>
			<content:encoded><![CDATA[<p>if(len(sys.argv) &lt; 3) :<br />
        print (&#039;Usage : python chat_client.py hostname port&#039;)<br />
        sys.exit()</p>
<p>Whenever I start the client program after I start the server program, the only output I get is the print of the if statement above. How can I make the program work ?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ben maccini		</title>
		<link>https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-115198</link>

		<dc:creator><![CDATA[ben maccini]]></dc:creator>
		<pubDate>Wed, 19 Apr 2017 01:36:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=4631#comment-115198</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-115197&quot;&gt;ben maccini&lt;/a&gt;.

good comment]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-115197">ben maccini</a>.</p>
<p>good comment</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ben maccini		</title>
		<link>https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-115197</link>

		<dc:creator><![CDATA[ben maccini]]></dc:creator>
		<pubDate>Wed, 19 Apr 2017 01:35:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=4631#comment-115197</guid>

					<description><![CDATA[how to code messaging app]]></description>
			<content:encoded><![CDATA[<p>how to code messaging app</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: bhargav		</title>
		<link>https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-101207</link>

		<dc:creator><![CDATA[bhargav]]></dc:creator>
		<pubDate>Mon, 26 Dec 2016 09:46:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=4631#comment-101207</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-68148&quot;&gt;tiferrei&lt;/a&gt;.

the client disconnects as soon as it connects and goes offline]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-68148">tiferrei</a>.</p>
<p>the client disconnects as soon as it connects and goes offline</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: bhargav		</title>
		<link>https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-101205</link>

		<dc:creator><![CDATA[bhargav]]></dc:creator>
		<pubDate>Mon, 26 Dec 2016 09:11:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=4631#comment-101205</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-68148&quot;&gt;tiferrei&lt;/a&gt;.

ta for the hint]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/code-chat-application-server-client-sockets-python/comment-page-1/#comment-68148">tiferrei</a>.</p>
<p>ta for the hint</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
