<?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: SDL Net &#8211; Part 2 (User Tutorial)</title>
	<atom:link href="http://www.sdltutorials.com/sdl-net-part-2-user-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sdltutorials.com/sdl-net-part-2-user-tutorial/</link>
	<description>SDL Tutorials - Game Tutorials - Programming Tutorials</description>
	<lastBuildDate>Wed, 28 Jul 2010 14:45:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Rupak</title>
		<link>http://www.sdltutorials.com/sdl-net-part-2-user-tutorial/comment-page-1/#comment-7741</link>
		<dc:creator>Rupak</dc:creator>
		<pubDate>Tue, 27 Apr 2010 17:19:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.sdltutorials.com/?p=190#comment-7741</guid>
		<description>I noticed stderr.txt is full of:

SDLNet_TCP_Open: Couldn’t create socket

That&#039;s the same problem with me too...</description>
		<content:encoded><![CDATA[<p>I noticed stderr.txt is full of:</p>
<p>SDLNet_TCP_Open: Couldn’t create socket</p>
<p>That&#8217;s the same problem with me too&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: basement24</title>
		<link>http://www.sdltutorials.com/sdl-net-part-2-user-tutorial/comment-page-1/#comment-7203</link>
		<dc:creator>basement24</dc:creator>
		<pubDate>Thu, 08 Apr 2010 16:24:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.sdltutorials.com/?p=190#comment-7203</guid>
		<description>how would i send a string of chars with this? tried butt no luck so far.</description>
		<content:encoded><![CDATA[<p>how would i send a string of chars with this? tried butt no luck so far.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kahshoo-heem</title>
		<link>http://www.sdltutorials.com/sdl-net-part-2-user-tutorial/comment-page-1/#comment-6267</link>
		<dc:creator>kahshoo-heem</dc:creator>
		<pubDate>Wed, 13 Jan 2010 23:23:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.sdltutorials.com/?p=190#comment-6267</guid>
		<description>Ok, that&#039;s my fault - again.
On the contrary I&#039;ve said in the first part of the tutorial, SDL_Init(SDL_INIT_EVERYTHING) do not initialize SDL NET. According to the documentation, the subsystems started by this flag are:
﻿
SDL_INIT_TIMER The timer subsystem 
SDL_INIT_AUDIO The audio subsystem 
SDL_INIT_VIDEO The video subsystem 
SDL_INIT_CDROM The cdrom subsystem 
SDL_INIT_JOYSTICK The joystick subsystem 

Therefore, you need to add CNet::Init() and CNet::Quit() to CApp_OnInit.cpp and CApp_OnCleanup.cpp files, respectively.

However, linux treats network initialization in a different way than Windows. I tested the host application in a linux workstation, and all gone well. For this I was trapped.

So it&#039;s not enough to remember that, besides SDL is platform independent, we have always to test our programs in the various system and configurations we want they will run.

And that&#039;s what I&#039;ll do. After that, I will rewrite this tutorial.</description>
		<content:encoded><![CDATA[<p>Ok, that&#8217;s my fault &#8211; again.<br />
On the contrary I&#8217;ve said in the first part of the tutorial, SDL_Init(SDL_INIT_EVERYTHING) do not initialize SDL NET. According to the documentation, the subsystems started by this flag are:<br />
﻿<br />
SDL_INIT_TIMER The timer subsystem<br />
SDL_INIT_AUDIO The audio subsystem<br />
SDL_INIT_VIDEO The video subsystem<br />
SDL_INIT_CDROM The cdrom subsystem<br />
SDL_INIT_JOYSTICK The joystick subsystem </p>
<p>Therefore, you need to add CNet::Init() and CNet::Quit() to CApp_OnInit.cpp and CApp_OnCleanup.cpp files, respectively.</p>
<p>However, linux treats network initialization in a different way than Windows. I tested the host application in a linux workstation, and all gone well. For this I was trapped.</p>
<p>So it&#8217;s not enough to remember that, besides SDL is platform independent, we have always to test our programs in the various system and configurations we want they will run.</p>
<p>And that&#8217;s what I&#8217;ll do. After that, I will rewrite this tutorial.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kahshoo-heem</title>
		<link>http://www.sdltutorials.com/sdl-net-part-2-user-tutorial/comment-page-1/#comment-6259</link>
		<dc:creator>kahshoo-heem</dc:creator>
		<pubDate>Wed, 13 Jan 2010 00:19:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.sdltutorials.com/?p=190#comment-6259</guid>
		<description>obsrv,

Probably, the network security policy of your system is blocking your workstation to act as a server. Unfortunately, I don&#039;t have a windows machine at the moment to test this hypothesis. But you can lay down the firewall, temporarily, of course , and check if the program works.</description>
		<content:encoded><![CDATA[<p>obsrv,</p>
<p>Probably, the network security policy of your system is blocking your workstation to act as a server. Unfortunately, I don&#8217;t have a windows machine at the moment to test this hypothesis. But you can lay down the firewall, temporarily, of course , and check if the program works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: obsrv</title>
		<link>http://www.sdltutorials.com/sdl-net-part-2-user-tutorial/comment-page-1/#comment-6257</link>
		<dc:creator>obsrv</dc:creator>
		<pubDate>Tue, 12 Jan 2010 21:51:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.sdltutorials.com/?p=190#comment-6257</guid>
		<description>I noticed stderr.txt is full of:

SDLNet_TCP_Open: Couldn&#039;t create socket</description>
		<content:encoded><![CDATA[<p>I noticed stderr.txt is full of:</p>
<p>SDLNet_TCP_Open: Couldn&#8217;t create socket</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: obsrv</title>
		<link>http://www.sdltutorials.com/sdl-net-part-2-user-tutorial/comment-page-1/#comment-6256</link>
		<dc:creator>obsrv</dc:creator>
		<pubDate>Tue, 12 Jan 2010 21:35:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.sdltutorials.com/?p=190#comment-6256</guid>
		<description>I read that response but altering the code did not help.</description>
		<content:encoded><![CDATA[<p>I read that response but altering the code did not help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kahshoo-heem</title>
		<link>http://www.sdltutorials.com/sdl-net-part-2-user-tutorial/comment-page-1/#comment-6255</link>
		<dc:creator>kahshoo-heem</dc:creator>
		<pubDate>Tue, 12 Jan 2010 19:28:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.sdltutorials.com/?p=190#comment-6255</guid>
		<description>Please, see the response I wrote at &quot;SDL Net – Part 1&quot; tutorial.
If you don&#039;t want to update that line at CNet.cpp, you can download the files again, as I think Tim has already uploaded the fixed files.</description>
		<content:encoded><![CDATA[<p>Please, see the response I wrote at &#8220;SDL Net – Part 1&#8243; tutorial.<br />
If you don&#8217;t want to update that line at CNet.cpp, you can download the files again, as I think Tim has already uploaded the fixed files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: obsrv</title>
		<link>http://www.sdltutorials.com/sdl-net-part-2-user-tutorial/comment-page-1/#comment-6253</link>
		<dc:creator>obsrv</dc:creator>
		<pubDate>Tue, 12 Jan 2010 15:53:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.sdltutorials.com/?p=190#comment-6253</guid>
		<description>I have compiled SDL Net Tutorial Files but when I run server executable a window of SDL appears for half-second and dissapears. Client executable works fine. Maybe there is problem with code?</description>
		<content:encoded><![CDATA[<p>I have compiled SDL Net Tutorial Files but when I run server executable a window of SDL appears for half-second and dissapears. Client executable works fine. Maybe there is problem with code?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
