<?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: Winsock tutorial &#8211; Socket programming in C on windows	</title>
	<atom:link href="https://www.binarytides.com/winsock-socket-programming-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.binarytides.com/winsock-socket-programming-tutorial/</link>
	<description>News, Technology, Entertainment and more</description>
	<lastBuildDate>Tue, 14 Feb 2023 21:21:43 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
	<item>
		<title>
		By: Tajnep		</title>
		<link>https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-351392</link>

		<dc:creator><![CDATA[Tajnep]]></dc:creator>
		<pubDate>Tue, 14 Feb 2023 21:21:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=1304#comment-351392</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-249912&quot;&gt;Alberto&lt;/a&gt;.

you are criticizing someone who is putting out information for free. 

Also, it is not their fault that you are terrible at programming. Wait tell you have to get this information together YOURSELF from the microsoft docs or (worse yet for someone like you) a goddamn book.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-249912">Alberto</a>.</p>
<p>you are criticizing someone who is putting out information for free. </p>
<p>Also, it is not their fault that you are terrible at programming. Wait tell you have to get this information together YOURSELF from the microsoft docs or (worse yet for someone like you) a goddamn book.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Silver Moon		</title>
		<link>https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-2/#comment-348972</link>

		<dc:creator><![CDATA[Silver Moon]]></dc:creator>
		<pubDate>Wed, 04 Jan 2023 14:48:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=1304#comment-348972</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-2/#comment-342466&quot;&gt;Alex&lt;/a&gt;.

you are right, new_socket should also be closed if its a valid socket.
i missed that!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-2/#comment-342466">Alex</a>.</p>
<p>you are right, new_socket should also be closed if its a valid socket.<br />
i missed that!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Luis		</title>
		<link>https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-2/#comment-342854</link>

		<dc:creator><![CDATA[Luis]]></dc:creator>
		<pubDate>Mon, 22 Aug 2022 11:00:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=1304#comment-342854</guid>

					<description><![CDATA[There is a large part of the code missing bruh]]></description>
			<content:encoded><![CDATA[<p>There is a large part of the code missing bruh</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alex		</title>
		<link>https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-2/#comment-342466</link>

		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Sat, 13 Aug 2022 11:07:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=1304#comment-342466</guid>

					<description><![CDATA[Hello, in your code you only call closesocket()  to close socket &quot;s&quot; but you never call closesocket() to close &quot;new_socket&quot;
Why you only close socket &quot;s&quot; and not socket &quot;new_socket&quot; ?]]></description>
			<content:encoded><![CDATA[<p>Hello, in your code you only call closesocket()  to close socket &#8220;s&#8221; but you never call closesocket() to close &#8220;new_socket&#8221;<br />
Why you only close socket &#8220;s&#8221; and not socket &#8220;new_socket&#8221; ?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alex		</title>
		<link>https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-2/#comment-342464</link>

		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Sat, 13 Aug 2022 11:00:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=1304#comment-342464</guid>

					<description><![CDATA[Hello, in your code you call closesocket() to close a socket  but you only call closesocket()  to close socket &quot;s&quot; but you never call closesocket() to close &quot;new_socket&quot;?

Why you only close socket  &quot;s&quot;  and not  &quot;new_socket&quot; ?]]></description>
			<content:encoded><![CDATA[<p>Hello, in your code you call closesocket() to close a socket  but you only call closesocket()  to close socket &#8220;s&#8221; but you never call closesocket() to close &#8220;new_socket&#8221;?</p>
<p>Why you only close socket  &#8220;s&#8221;  and not  &#8220;new_socket&#8221; ?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Silver Moon		</title>
		<link>https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-330912</link>

		<dc:creator><![CDATA[Silver Moon]]></dc:creator>
		<pubDate>Thu, 13 Jan 2022 13:21:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=1304#comment-330912</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-330778&quot;&gt;H.A.Akbarpour&lt;/a&gt;.

yes, this code has been tested to run in visual studio c++
create project, add source code file and compile.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-330778">H.A.Akbarpour</a>.</p>
<p>yes, this code has been tested to run in visual studio c++<br />
create project, add source code file and compile.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: H.A.Akbarpour		</title>
		<link>https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-330778</link>

		<dc:creator><![CDATA[H.A.Akbarpour]]></dc:creator>
		<pubDate>Wed, 12 Jan 2022 07:50:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=1304#comment-330778</guid>

					<description><![CDATA[Hello
Many thanks for your code
I want to know if i can run this code on visual studio?
Best Wishes]]></description>
			<content:encoded><![CDATA[<p>Hello<br />
Many thanks for your code<br />
I want to know if i can run this code on visual studio?<br />
Best Wishes</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: amirho3ein		</title>
		<link>https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-330750</link>

		<dc:creator><![CDATA[amirho3ein]]></dc:creator>
		<pubDate>Tue, 11 Jan 2022 21:26:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=1304#comment-330750</guid>

					<description><![CDATA[Thanks man
i was getting headache reading microsoft docs
you made my day]]></description>
			<content:encoded><![CDATA[<p>Thanks man<br />
i was getting headache reading microsoft docs<br />
you made my day</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: pravin		</title>
		<link>https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-320227</link>

		<dc:creator><![CDATA[pravin]]></dc:creator>
		<pubDate>Wed, 30 Jun 2021 14:01:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=1304#comment-320227</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-79649&quot;&gt;Totzfreelance&lt;/a&gt;.

gcc .\server_main.cpp -o server -lws2_32 

type this while compliling]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-79649">Totzfreelance</a>.</p>
<p>gcc .\server_main.cpp -o server -lws2_32 </p>
<p>type this while compliling</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: kevin mitnick		</title>
		<link>https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-314831</link>

		<dc:creator><![CDATA[kevin mitnick]]></dc:creator>
		<pubDate>Fri, 12 Mar 2021 09:03:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=1304#comment-314831</guid>

					<description><![CDATA[ window alert % test &#062; ]]></description>
			<content:encoded><![CDATA[<p> window alert % test &gt; </p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Tom		</title>
		<link>https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-280813</link>

		<dc:creator><![CDATA[Tom]]></dc:creator>
		<pubDate>Mon, 21 Sep 2020 13:05:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=1304#comment-280813</guid>

					<description><![CDATA[Hey Silver Moon,
Thank you very much for sharing your codes and the introduction - keep going :-)!  
I´m an absolute beginner in &quot;socket&quot; programming and I have to say that your explanation is easy to understand (for me).
Good and newbie-friendly tutorial.

A note:
in the chapter &quot;Handling Connections&quot; no sample source code and no output in the boxes is shown.]]></description>
			<content:encoded><![CDATA[<p>Hey Silver Moon,<br />
Thank you very much for sharing your codes and the introduction &#8211; keep going :-)!<br />
I´m an absolute beginner in &#8220;socket&#8221; programming and I have to say that your explanation is easy to understand (for me).<br />
Good and newbie-friendly tutorial.</p>
<p>A note:<br />
in the chapter &#8220;Handling Connections&#8221; no sample source code and no output in the boxes is shown.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rebecca Felmer		</title>
		<link>https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-259666</link>

		<dc:creator><![CDATA[Rebecca Felmer]]></dc:creator>
		<pubDate>Mon, 22 Jun 2020 14:58:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=1304#comment-259666</guid>

					<description><![CDATA[Might we trouble you for the last two pieces of multithreading code?]]></description>
			<content:encoded><![CDATA[<p>Might we trouble you for the last two pieces of multithreading code?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rebecca Felmer		</title>
		<link>https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-259665</link>

		<dc:creator><![CDATA[Rebecca Felmer]]></dc:creator>
		<pubDate>Mon, 22 Jun 2020 14:56:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=1304#comment-259665</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-249912&quot;&gt;Alberto&lt;/a&gt;.

See comments:

Why don’t you update all you typos? The HTML versions of (“,) Take about 30 minutes to edit. It’s a pain to have to edit this code. If not just take this site down, it’s not worth trying to figure this all out. (Without generating income from this site, the user is under no obligation to update the content presented. Go elsewhere if it is not satisfactory.)

Then you use ‘s’ as a variable for ‘socket’, why not use something more descriptive such as sock_p , for primary socket. Your examples are hard to follow. (That falls down to coder preference. I used &quot;sock&quot; some prefer &quot;s&quot;. Their is no particularly wrong answer.)

For crying out loud all you are doing is creating a socket, connecting to server and sending info. If your variables were more discriptive it wouldn’t took take two days to debug your code to getting running for the absolute beginer. (In C code, that is quite the accomplishment. Especially on a windows machine. As for the debugging, that is a natural part of coding and most of your time will be spent doing it.)

Also, the client application has an outdated inet address for google. It doesn’t connect and it took me two days to figure that out, since I have zero previous knowledge of Socket programing. (Great! You just learned the first rule of using other people&#039;s code: trust nothing.)

I had to ping Google.com to get a current Inet Address. (And you found the solution yourself. I&#039;d bet fifty bucks that you won&#039;t be making this mistake again.)

In summation: Quit whining. This is C code. If you wanted something soft and easy, try Python or Javascript. As for the time-consuming nature of code debugging, that is a natural part of coding. Coding is 90% debugging, 5% grunt work, 4% comprehension, and 1% coke-fueled, near-psychedelic, code creation. It&#039;s that 1% part that I keep coming back for. There is no high better than a coder&#039;s. And I have yet to find something more enjoyable than a perfectly executed piece of code.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-249912">Alberto</a>.</p>
<p>See comments:</p>
<p>Why don’t you update all you typos? The HTML versions of (“,) Take about 30 minutes to edit. It’s a pain to have to edit this code. If not just take this site down, it’s not worth trying to figure this all out. (Without generating income from this site, the user is under no obligation to update the content presented. Go elsewhere if it is not satisfactory.)</p>
<p>Then you use ‘s’ as a variable for ‘socket’, why not use something more descriptive such as sock_p , for primary socket. Your examples are hard to follow. (That falls down to coder preference. I used &#8220;sock&#8221; some prefer &#8220;s&#8221;. Their is no particularly wrong answer.)</p>
<p>For crying out loud all you are doing is creating a socket, connecting to server and sending info. If your variables were more discriptive it wouldn’t took take two days to debug your code to getting running for the absolute beginer. (In C code, that is quite the accomplishment. Especially on a windows machine. As for the debugging, that is a natural part of coding and most of your time will be spent doing it.)</p>
<p>Also, the client application has an outdated inet address for google. It doesn’t connect and it took me two days to figure that out, since I have zero previous knowledge of Socket programing. (Great! You just learned the first rule of using other people&#8217;s code: trust nothing.)</p>
<p>I had to ping Google.com to get a current Inet Address. (And you found the solution yourself. I&#8217;d bet fifty bucks that you won&#8217;t be making this mistake again.)</p>
<p>In summation: Quit whining. This is C code. If you wanted something soft and easy, try Python or Javascript. As for the time-consuming nature of code debugging, that is a natural part of coding. Coding is 90% debugging, 5% grunt work, 4% comprehension, and 1% coke-fueled, near-psychedelic, code creation. It&#8217;s that 1% part that I keep coming back for. There is no high better than a coder&#8217;s. And I have yet to find something more enjoyable than a perfectly executed piece of code.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alberto		</title>
		<link>https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-249912</link>

		<dc:creator><![CDATA[Alberto]]></dc:creator>
		<pubDate>Sat, 09 May 2020 05:25:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=1304#comment-249912</guid>

					<description><![CDATA[Why don&#039;t you update all you typos?  The HTML versions of (&quot;,) Take about 30 minutes to edit.  It&#039;s a pain to have to edit this code. If not just take this site down, it&#039;s not worth trying to figure this all out.

Then you use &#039;s&#039; as a variable for &#039;socket&#039;, why not use something more descriptive such as sock_p , for primary socket. Your examples are hard to follow.

For crying out loud all you are doing is creating a socket, connecting to server and sending info. If your variables were more discriptive it wouldn&#039;t took take two days to debug your code to getting running for the absolute beginer. 

Also, the client application has an outdated inet address for google. It doesn&#039;t connect and it took me two days to figure that out, since I have zero previous knowledge of Socket programing.

I had to ping Google.com to get a current Inet Address.]]></description>
			<content:encoded><![CDATA[<p>Why don&#8217;t you update all you typos?  The HTML versions of (&#8220;,) Take about 30 minutes to edit.  It&#8217;s a pain to have to edit this code. If not just take this site down, it&#8217;s not worth trying to figure this all out.</p>
<p>Then you use &#8216;s&#8217; as a variable for &#8216;socket&#8217;, why not use something more descriptive such as sock_p , for primary socket. Your examples are hard to follow.</p>
<p>For crying out loud all you are doing is creating a socket, connecting to server and sending info. If your variables were more discriptive it wouldn&#8217;t took take two days to debug your code to getting running for the absolute beginer. </p>
<p>Also, the client application has an outdated inet address for google. It doesn&#8217;t connect and it took me two days to figure that out, since I have zero previous knowledge of Socket programing.</p>
<p>I had to ping Google.com to get a current Inet Address.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Csaba		</title>
		<link>https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-226616</link>

		<dc:creator><![CDATA[Csaba]]></dc:creator>
		<pubDate>Tue, 07 Jan 2020 17:29:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=1304#comment-226616</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-142658&quot;&gt;bhavana&lt;/a&gt;.

Sure, use 127.0.0.1 address]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-142658">bhavana</a>.</p>
<p>Sure, use 127.0.0.1 address</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Silver Moon		</title>
		<link>https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-210872</link>

		<dc:creator><![CDATA[Silver Moon]]></dc:creator>
		<pubDate>Sat, 28 Sep 2019 05:55:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=1304#comment-210872</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-210775&quot;&gt;Sumit&lt;/a&gt;.

lol
they copied my article.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-210775">Sumit</a>.</p>
<p>lol<br />
they copied my article.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sumit		</title>
		<link>https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-210775</link>

		<dc:creator><![CDATA[Sumit]]></dc:creator>
		<pubDate>Fri, 27 Sep 2019 14:15:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=1304#comment-210775</guid>

					<description><![CDATA[Hi All, 
If you are looking for &quot;Handling Connnections&quot; code, please look here
https://www.cnblogs.com/Daniel-G/p/3217117.html
Regards
Sumit]]></description>
			<content:encoded><![CDATA[<p>Hi All,<br />
If you are looking for &#8220;Handling Connnections&#8221; code, please look here<br />
<a href="https://www.cnblogs.com/Daniel-G/p/3217117.html" rel="nofollow ugc">https://www.cnblogs.com/Daniel-G/p/3217117.html</a><br />
Regards<br />
Sumit</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sumit		</title>
		<link>https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-210769</link>

		<dc:creator><![CDATA[Sumit]]></dc:creator>
		<pubDate>Fri, 27 Sep 2019 13:34:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=1304#comment-210769</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-198853&quot;&gt;Mohammad&lt;/a&gt;.

Hey, were you able to find the last two codes ?
Regards
Sumit]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-198853">Mohammad</a>.</p>
<p>Hey, were you able to find the last two codes ?<br />
Regards<br />
Sumit</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mohammad		</title>
		<link>https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-198853</link>

		<dc:creator><![CDATA[Mohammad]]></dc:creator>
		<pubDate>Mon, 10 Jun 2019 09:40:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=1304#comment-198853</guid>

					<description><![CDATA[last two codes can&#039;t be seen
pls solve it]]></description>
			<content:encoded><![CDATA[<p>last two codes can&#8217;t be seen<br />
pls solve it</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: wjllz		</title>
		<link>https://www.binarytides.com/winsock-socket-programming-tutorial/comment-page-1/#comment-160556</link>

		<dc:creator><![CDATA[wjllz]]></dc:creator>
		<pubDate>Tue, 12 Jun 2018 15:54:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=1304#comment-160556</guid>

					<description><![CDATA[Hello, I&#039;m the beginner of network program, could you tell about the use of the res parameter, I could understand it by the document of Microsoft, thanks. There is my email address, I&#039;m look forword to your replay. Thank you very much! 1214wjllz@gmail.com]]></description>
			<content:encoded><![CDATA[<p>Hello, I&#8217;m the beginner of network program, could you tell about the use of the res parameter, I could understand it by the document of Microsoft, thanks. There is my email address, I&#8217;m look forword to your replay. Thank you very much! <a href="mailto:1214wjllz@gmail.com">1214wjllz@gmail.com</a></p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
