<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>TechDuke</title>
	<atom:link href="http://www.techduke.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techduke.com</link>
	<description></description>
	<pubDate>Fri, 05 Mar 2010 23:15:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Keen Pyrenees Boots are Modern and Stylish Trail Boots</title>
		<link>http://www.techduke.com/2010/03/05/keen-pyrenees-boots-are-modern-and-stylish-trail-boots/</link>
		<comments>http://www.techduke.com/2010/03/05/keen-pyrenees-boots-are-modern-and-stylish-trail-boots/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 23:15:43 +0000</pubDate>
		<dc:creator>Tech Duke</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.techduke.com/?p=302</guid>
		<description><![CDATA[Believe me or not, if you do a lot of trekking and have not yet experienced Keen Pyrenees boots, then I think you have left the great adventure incomplete. They have been bumping in the stores recently and been spotted on many feet, especially those of trekkers. I myself go on trekking a lot and [...]]]></description>
			<content:encoded><![CDATA[<p>Believe me or not, if you do a lot of trekking and have not yet experienced <a href="http://www.shoespreviews.com/keen-pyrenees-boots/" title="Keen Pyrenees Boots">Keen Pyrenees</a> boots, then I think you have left the great adventure incomplete.<span id="more-302"></span> They have been bumping in the stores recently and been spotted on many feet, especially those of trekkers. I myself go on trekking a lot and have been recommend to buy these from many hikers.<br />
I followed their suggestion and bought these soon, and I was amazed how comfortable stable and well looking boots are they. They look extremely aggressive in person, I know after reading this review you must be doing a search to have a look at these, though they look good in pictures as well, but I will recommend you to see in it your near brick and mortar store. They fit perfectly to my feet and were comfortable right out of the box, there is no breaking in period required. You can read reviews on <a href="http://www.shoespreviews.com/category/keen/" title="Keen Shoes">Keen shoes or boots</a> at <a href="http://www.shoespreviews.com/" title="Shoes Previews">ShoesPreviews.com</a>, there are hundreds of reviews listed. Also take a look at similar looking <a href="http://www.shoespreviews.com/keen-targhee-ii-boots-mid/">Keen Targhee II Boots</a>. I do not have any personal experience with them, but they look good based on similar technologies used in Pyrenees boots.<br />
I am actually new to this brand, yes i did know about its existence, but have not experienced any one of it, I used to buy The North Face and Patagonia for this purpose, and I still love those brands, but I will definitely add Keen to my love list <img src='http://www.techduke.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.techduke.com/2010/03/05/keen-pyrenees-boots-are-modern-and-stylish-trail-boots/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sabrina by VanEli Shoes, Stylish Footwear</title>
		<link>http://www.techduke.com/2009/09/17/sabrina-by-vaneli-shoes-stylish-footwear/</link>
		<comments>http://www.techduke.com/2009/09/17/sabrina-by-vaneli-shoes-stylish-footwear/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 00:16:14 +0000</pubDate>
		<dc:creator>Tech Duke</dc:creator>
		
		<category><![CDATA[Product Reviews]]></category>

		<guid isPermaLink="false">http://www.techduke.com/?p=301</guid>
		<description><![CDATA[The most Stylish Dress Shoe!!! I was looking for a stylish gray shoe in the size of 11 ½ N from a long time. My search is over after having Sabrina. It is the most trendy dress shoe I have ever purchased. The most important thing which makes it very different from other dress shoes [...]]]></description>
			<content:encoded><![CDATA[<p>The most Stylish Dress Shoe!!! I was looking for a stylish gray shoe in the size of 11 ½ N from a long time. My search is over after having Sabrina.<span id="more-301"></span> It is the most trendy dress shoe I have ever purchased. The most important thing which makes it very different from other dress shoes is its POLISHED FINISH! I think its finish is very smooth and attracts all the people around you. The still remember that when I wear this shoe the very first time. All my colleagues gave me very nice complements. Many of my friends bought it after words. The best part of this shoe is that it is not only a dress shoe but looks equally great when worn casually with jeans etc. It fits like a dream and changes your look. It makes you look more fashionable. First time when I wore it I found it a little stiff but it got soften up after two three wears.</p>
<p>I really love <a href="http://www.garryshoes.com/">Vaneli shoes</a>. These shoes are extremely dressy and very comfy. I have worn it many a time and it never looks rough. Every time I wear it people think that I am wearing it for the first time because of its shine. It is a well made shoe so the quality id very good. I think It really worth its price. I wear it in office, while hanging out with family or friends and also at weddings. So I can wear these with any thing from a pair of jeans to a dressy pant. Over all it is a Versatile Shoe with Versatile Features! Do check out other selection of <a href="http://www.garryshoes.com/sandals.htm">sandals</a> offered by this brand.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techduke.com/2009/09/17/sabrina-by-vaneli-shoes-stylish-footwear/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Skechers Shoes, Is It Really a Perfect Gift ?</title>
		<link>http://www.techduke.com/2009/09/06/skechers-shoes-is-it-really-a-perfect-gift/</link>
		<comments>http://www.techduke.com/2009/09/06/skechers-shoes-is-it-really-a-perfect-gift/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 00:46:38 +0000</pubDate>
		<dc:creator>Tech Duke</dc:creator>
		
		<category><![CDATA[Product Reviews]]></category>

		<category><![CDATA[skechers]]></category>

		<category><![CDATA[skechers boots]]></category>

		<category><![CDATA[skechers sandals]]></category>

		<category><![CDATA[skechers shoes]]></category>

		<guid isPermaLink="false">http://www.techduke.com/?p=300</guid>
		<description><![CDATA[Close Your Eyes and Give Skechers As A GIFT!!! This is the best gift one can ever get. If you are looking forward to give a very nice gift to your family members or friends then choose any pair of shoes from Skechers and your friend, mom, dad or child is going to LOVE IT. [...]]]></description>
			<content:encoded><![CDATA[<p>Close Your Eyes and Give Skechers As A GIFT!!! This is the best gift one can ever get. If you are looking forward to give a very nice gift to your family members or friends<span id="more-300"></span> then choose any pair of shoes from Skechers and your friend, mom, dad or child is going to LOVE IT. The shoes which are offered by this brand provide extreme comfort and great arch support.</p>
<p>So if you are looking for a perfect gift to give your dear ones then select this brand. No other shoe will give them more pleasure then <A href="http://www.mandalayshoes.com/">Skechers Mandalay</a>. Every one will love wearing them.</p>
<p>Skechers come in many models so you can have any one according to the choice of the person who is going to wear it. So if you know the taste of your dear friend then you will face no problems during the selection. If its summer and you want to gift the perfect sandal then go for Ninja Star. You can check out the <a href="http://www.mandalayshoes.com/colosseumsandals.htm">Colosseum sandals</a>. If its winter and you are looking for a nice shoe then you can buy Stacked or Gallop.</p>
<p>The range of Skechers do not end here, it offer many more casual shoes for your friends and family members. The shoes are available in many colors and sizes. You can choose the color that your friend likes, the style that your friend admire and dream about buying. Find out huge number of styles under <a href="http://www.mandalayshoes.com/bikersstepup.htm">Skechers Bikers</a> and feel the thrills. There are dozens of styles to choose from and they all rock in their own way.</p>
<p>Don’t think that if these shoes are very stylish then they are not going to provide comfort to your feet. You will get ultimate pleasure in skechers. They are very durable, light weight and soft. In this era when every one is busy in their lives, who gets time to maintain the shoes. These shoes never need any amendment. <a href="http://www.mandalayshoes.com/boots.htm">Skechers boots</a> deserve a look, as they can be your life saver in winter. Just wipe your shoes and they are all ready for you to wear and enjoy.<br />
So what are you waiting???? Surprise your wife, mother, grany or a friend by giving them the shoes of their dream SKECHERS!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techduke.com/2009/09/06/skechers-shoes-is-it-really-a-perfect-gift/feed/</wfw:commentRss>
		</item>
		<item>
		<title>UGG Boots Sells like Hot Cakes!</title>
		<link>http://www.techduke.com/2009/01/29/ugg-boots-sells-like-hot-cakes/</link>
		<comments>http://www.techduke.com/2009/01/29/ugg-boots-sells-like-hot-cakes/#comments</comments>
		<pubDate>Fri, 30 Jan 2009 00:57:54 +0000</pubDate>
		<dc:creator>Tech Duke</dc:creator>
		
		<category><![CDATA[Product Reviews]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.techduke.com/?p=299</guid>
		<description><![CDATA[UGG was started by Brian Smith in 1978, today it is a well known brand and sells Billions worth of Footwear each year. So Why are UGG Boots so popular? What makes them so attractive ? Why do they sell like Hot cakes? When I saw these boots, I only had one feeling how ugly [...]]]></description>
			<content:encoded><![CDATA[<p>UGG was started by Brian Smith in 1978, today it is a well known brand and sells Billions worth of Footwear each year.<span id="more-299"></span> So Why are <a href="http://www.bootsslippers.com/">UGG Boots</a> so popular? What makes them so attractive ? Why do they sell like Hot cakes? When I saw these boots, I only had one feeling how ugly boots. But it seems everyone loves them. To find out the reason I tried a pair <a href="http://www.bootsslippers.com/classicshort.htm">Ugg Classic Short Boots</a>, they were also available in tall, but I&#8217;m no fan of Taller ones. I like them to be short, anyway. As soon as I wore these boots I got the feeling of why others do this. It felt so comfortable to put my feet into the cozy Sheepskin. okay, They do look ugly, but when it comes to comfort and warmth you have to sacrifice the looks. They are just like Crocs, bad to look, but comfortable to wear.<br />
I wore them for some days, and I felt they are getting dirty, but I did not worry much, because while browsing on the internet I saw <a href="http://www.bootsslippers.com/shoecareproducts.htm">Shoe care products by UGG</a>, that includes stain Repellent and Cleaner Conditioner, you can also find a complete care kit on most of the online stores that are featuring Uggs. You can also find replacement insoles.<br />
You can also find a large number of Slippers under this brand, and they are cute too. Like I tried the <a href="http://www.bootsslippers.com/dakota.htm">UGG Dakota Slippers</a>, they are made of high quality sheepskin material to keep your feet warm in winter. I love them so much that I sometimes wear them in Summer season. They are offered in many colors including Pink, brown and coffee.<br />
Do check out the complete <a href="http://www.bootsslippers.com/coldweather.htm">Winter Cold boots</a> collection. Also do not forget to read the details for <a href="http://www.bootsslippers.com/sundanceii.htm">UGG Sundance boots</a>, they are ultra comfy and are more popular than the <a href="http://www.bootsslippers.com/cove.htm">Cove</a> one&#8217;s. One thing tough, Previously these were made in Australia, but it seems that now they are outsourced in China, pity but why should one care for the manufacturing country if you get the same comfort.<br />
A few other styles include <a href="http://www.bootsslippers.com/tasman.htm">Tasman Slippers</a>, <a href="http://www.bootsslippers.com/classiccardy.htm">UGG Classic Cardy</a>, <a href="http://www.bootsslippers.com/upside.htm">Upside boots</a> and <a href="http://www.bootsslippers.com/classictall.htm">Classic Tall</a>. For more details on this brand visit this site for <a href="http://www.bootsslippers.com/">UGG Boots and Slippers</a>, they feature reviews for almost each of the style introduced.<br />
If you are more of a fan of clogs, then you should try out <a href="http://www.nursingshoesnow.com">Nurse Mates shoes</a>. They are especially made for those who have to stand all day a their jobs like nurses and teachers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techduke.com/2009/01/29/ugg-boots-sells-like-hot-cakes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Why do Women&#8217;s loves AK Anne Klein Shoes?</title>
		<link>http://www.techduke.com/2008/12/18/why-do-womens-loves-ak-anne-klein-shoes/</link>
		<comments>http://www.techduke.com/2008/12/18/why-do-womens-loves-ak-anne-klein-shoes/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 23:28:37 +0000</pubDate>
		<dc:creator>Tech Duke</dc:creator>
		
		<category><![CDATA[Shopping]]></category>

		<guid isPermaLink="false">http://www.techduke.com/?p=298</guid>
		<description><![CDATA[Recently I have discovered a site where you can buy shoes for best prices in the industry. My wife bought ANNE Klein Footwear from a site named Mariah Shoes, Its a shoe heaven. This site lists a large number of styles for Anne Klein Women&#8217;s. Out of which Classic Pumps are my wife&#8217;s favorite.
There are [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I have discovered a site where you can buy shoes for best prices<span id="more-298"></span> in the industry. My wife bought <a href="http://www.mariahshoes.com">ANNE Klein Footwear</a> from a site named <a href="http://www.mariahshoes.com/">Mariah Shoes</a>, Its a shoe heaven. This site lists a large number of styles for <a href="http://www.mariahshoes.com/womens.htm">Anne Klein Women&#8217;s</a>. Out of which <a href="http://www.mariahshoes.com/classic.htm">Classic Pumps</a> are my wife&#8217;s favorite.<br />
There are many other products or styles that you make like, which includes <a href="http://www.mariahshoes.com/foreverboots.htm">Forver Boots</a>, it is winter and you will surely love those boots. <a href="http://www.mariahshoes.com/gevaclogs.htm">AK Geva Clogs</a> in shiny and suede materials. And don&#8217;t forget the <a href="http://www.mariahshoes.com/gibbs.htm">Gibbs Boots</a>, One of the hot in this season.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techduke.com/2008/12/18/why-do-womens-loves-ak-anne-klein-shoes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Kingston 2GB microSD with 2 Adapters - Memory Card (SDC/2GB-2ADP)</title>
		<link>http://www.techduke.com/2008/08/01/kingston-2gb-microsd-with-2-adapters-memory-card-sdc2gb-2adp/</link>
		<comments>http://www.techduke.com/2008/08/01/kingston-2gb-microsd-with-2-adapters-memory-card-sdc2gb-2adp/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 18:20:39 +0000</pubDate>
		<dc:creator>Tech Duke</dc:creator>
		
		<category><![CDATA[Product Reviews]]></category>

		<guid isPermaLink="false">http://www.techduke.com/?p=296</guid>
		<description><![CDATA[
Click Here to Buy
or
Read Customer Reviews

Easy installation, fast read and write, works with my cell phone, plug and play.
I own a pantech duo phone and saw that there was a slot for a micro SD card. i started to look around and found newegg&#8217;s kingston 2gig card, i was so happy to receive this in [...]]]></description>
			<content:encoded><![CDATA[<p><span id="more-296"></span><center><a href='http://www.techduke.com/wp-content/uploads/2008/08/kingston2gbsd.jpg'><img src="http://www.techduke.com/wp-content/uploads/2008/08/kingston2gbsd.jpg" alt="" title="kingston2gbsd" width="230" height="199" class="alignnone size-full wp-image-297" /></a></p>
<p><u><a href="http://www.techduke.com/url/kingston2gb/" rel="nofollow">Click Here to Buy</a></u><br />
or<br />
<u><a href="http://www.techduke.com/url/kingston2gb/" rel="nofollow">Read Customer Reviews</a></u><br />
</center></p>
<p>Easy installation, fast read and write, works with my cell phone, plug and play.</p>
<p>I own a pantech duo phone and saw that there was a slot for a micro SD card. i started to look around and found newegg&#8217;s kingston 2gig card, i was so happy to receive this in the mail i opened it up and put it into my phone, the only problem was that my finger&#8217;s (without fingernails) were to big to click the card into place (not the cards fault but the phone&#8217;s) after using a small screwdriver the card clicked into place and after a quick phone restart the card was active, i even found out that i can drag and drop files and media using the &#8220;activesync&#8221; software that came with the phone. i even put a 110mb .pdf doc onto the phone and it copied and wrote to the card in under 6 mins. now i can put all my music and movies onto my phone and watch them when i&#8217;m at work ;).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techduke.com/2008/08/01/kingston-2gb-microsd-with-2-adapters-memory-card-sdc2gb-2adp/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Creating a Chat Program in Visual Basic</title>
		<link>http://www.techduke.com/2008/03/13/creating-a-chat-program-in-visual-basic/</link>
		<comments>http://www.techduke.com/2008/03/13/creating-a-chat-program-in-visual-basic/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 21:53:05 +0000</pubDate>
		<dc:creator>Tech Duke</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.techduke.com/2008/03/13/creating-a-chat-program-in-visual-basic/</guid>
		<description><![CDATA[Revisiting VB 6 after some time, today we are going to develop a chat tool&#8211;a simple client and server text.

 You only need a working knowledge of VB, as this example doesn&#8217;t attempt to make a complex program; we are aiming for something short (not much coding), simple and easy to follow.
Let&#8217;s begin. First, we [...]]]></description>
			<content:encoded><![CDATA[<p>Revisiting VB 6 after some time, today we are going to develop a chat tool&#8211;a simple client and server text.<br />
<span id="more-295"></span></p>
<p> You only need a working knowledge of VB, as this example doesn&#8217;t attempt to make a complex program; we are aiming for something short (not much coding), simple and easy to follow.</p>
<p>Let&#8217;s begin. First, we should delve a bit into the architecture. The tool we are going to build comprises two parts: the server part, which would wait for connections to be made (just like a web server waits for users to connect), and the client part, which would initiate connections to the server (the way a browser initiates connection to a web server).</p>
<p>To store the respective parts of our project, create two subfolders in the folder where you are going to save your project. Name the first one &#8220;Client&#8221; and other one &#8220;Served.</p>
<p><strong>The Server:</strong><br />
 Open Visual Basic 6 and Select &#8220;Standard Exe&#8221; for our new project in the dialog box that appears. Once the interface is displayed with a form visible in the center, go to File > Save Project. This will ask you to provide a name for your form. We are going to code the server first, so select the Server folder just created. Name your form frmServer. Next, another dialog box will ask you to save your project. Name it prjServer. Once this is done, you should make it your habit to press CTRL+S while you code, to make sure your code is not lost in case the application hangs or some other catastrophe occurs.</p>
<p>Now let&#8217;s change the default text, &#8216;Form1&#8242;, that appears in the title bar. To do this, we are going to edit the &#8216;Caption&#8217; property of the form. Properties can be accessed through the Properties box displayed at the bottom right of VB interface. This is a two-column, table-like box, where the first column displays a property&#8217;s name and the corresponding cell in the second column displays its setting or value. Whatever item is selected on the form, its properties are listed in properties box, from where you can edit them. Your form is selected by default (indicated by the resize handles on its boundaries) and the properties box has the &#8216;Caption&#8217; properly highlighted. Write &#8216;Server&#8217; in place of &#8216;Form1&#8242;.</p>
<p>Now, add two text boxes and a command button to the form (by first selecting the text box icon from the toolbar on the left-hand side of the VB interface, and drawing it on the form according to the size you desire; you can also simply-double-click a control icon on the toolbox to have it placed over the form). The two text boxes are for chat purposes, while the command button is required to initiate the operation of sending text to the client. Set the &#8216;Name&#8217; property of the first text box to &#8216;txtChatln&#8217;, of the second text box to &#8216;txtChatOut&#8217; and lastly, name the command button &#8216;cmdSend&#8217; and set its caption property to &#8216;Send&#8217; (default was &#8216;Command1&#8242;). These names are for our own convenience and could be anything<br />
From the &#8216;Text&#8217; property of the two text boxes, remove &#8216;Text1&#8242; &#038; &#8216;Text2&#8242; respectively (the default texts) and leave the fields blank. The second text box (txtChatln), which you should resize, is used for handling incoming chat text, and so should have the extra feature of being able to scroll as new text arrives. To add this functionality, set txtChatln&#8217;s &#8216;MultiLine&#8217; property to &#8216;True&#8217; and the &#8216;ScrollBar&#8217; property to &#8216;2&#8211;Vertical&#8217;. This is available as the second choice in the drop-down list that appears when you attempt to change &#8216;ScrollBar&#8217; property.</p>
<p>Now it&#8217;s time to add socket control&#8211;the brains of our application. This control is not listed in the default list that appears in the toolbox; you will have to bring it there. Here&#8217;s how: Right-click on the toolbox, and select &#8216;Components&#8217;. A component list dialog box is displayed. Scroll down and check &#8216;Microsoft Winsock Control 6.0&#8242;, and press OK. You will see that a new control with an icon showing two PCs has now been added to the toolbox. Using this, place a socket on your form and name it &#8217;sckServer&#8217;. On the form it would look as though it is the same icon as in the toolbox.</p>
<p>When you press F5 to test run the project, you will observe that socket control is not visible&#8211;this is normal, as this control is invisible at run-time. Users do not have to interact with sockets like the text box and command buttons. We give commands to sockets using only codes.</p>
<p>Time to add code: infusing blood into this body! Double- click the form (make sure it&#8217;s not a control but the form on which you are clicking). The coding pane has got two dropdown lists on the top. As you have double-clicked the form, you will see &#8216;Form&#8217; in the first dropdown (on left) and &#8216;Load&#8217; in the other dropdown (on right). The first shows the item and the second shows the event associated with that item. This means that you are now coding for the form&#8217;s Load event. An event is something that happens with an item (the form is loaded when the application starts, so Load is an event of the form). Whenever you will double-click a form or control, you will enter its coding window; see its name in the first dropdown and the event for which code is being entered in the second dropdown.</p>
<p>Add the following code in the form&#8217;s load event.<br />
<strong>sckServer.LocalPort = 6000<br />
sckServer.Listen</strong><br />
 This will make the server listen (wait for connections) on port 6000 as soon as the application starts.</p>
<p>Now that you are in the coding window, if you want to go back to your form design window, simply double-click Form1 in the project explorer box on the right-hand side of the VB interface. You can also use menu &#8216;Windows > Form1 (Form)&#8217;.</p>
<p>Similarly, add the following code to the command button which we have named cmdSend. Do this by double-clicking the button when you are in the form design window. Note that the event listed in the second dropdown is &#8216;Click&#8217; which signifies that when this code will be executed, the button&#8217;s event will be a click.</p>
<p><strong>sckServer.SendData txtChatOut.Text<br />
&#038; vbCrLf<br />
txtChatOut.Text=&#8221;"</strong></p>
<p>The first line tells the socket (sckServer) to send the data present in the text box (txtChatOut) along with a new line character, so that every line of text starts with a new line on the other side (i.e. the client, which we will be coding after we are done with the server). The second line empties the text box we are using in anticipation of the next text a user might type.</p>
<p>Now double-click the socket control we have placed on form to add code in its &#8216;ConnectionRequest&#8217; event (Fig 3b). Note that this event is not selected by default when you enter the coding window. Select this event from the second dropdown (on the right), which lists all the possible events for our socket (sckServer).</p>
<p><strong>If sckServer. State <> sckClosed Then<br />
sckServer. Close<br />
sckServer. Accept requestlD</strong></p>
<p>This is the way to accept connections when a connection request arrives at the socket. Note that we are coding a server (as we have instructed the socket to listen), and that&#8217;s why we have to tell sockets how to accept connections when requests come from clients. It&#8217;s not a problem if you don&#8217;t understand what these two lines do at the moment, as this code has nothing to do with the functionality aspects of our program and is only used to accept connections. (For inquisitive readers, in short, the first line checks the socket state and the second line invokes an accept method with the Request ID returned by an incoming connection request).</p>
<p>Now select &#8216;DataArrival&#8217; event from the second dropdown on the top, which currently displays ConnectionRequest. Add the following code.</p>
<p><strong>Dim ChatData As String<br />
sckServer.GetData ChatData<br />
txtChatln.Text = txtChatln.Text &#038; ChatData</strong></p>
<p>The variable &#8220;ChatData&#8221; of type &#8220;String&#8221; is declared (first line) and used with the &#8220;GetData&#8221; method of the socket to get incoming data (second line). Finally, the third line updates the incoming chat text box with new data. The reason for assigning txtChatln &#038; ChatData to txtChatln is to make sure that the current contents are net overwritten by the new data arrival.</p>
<p><strong>The Client</strong><br />
Open another VB 6 file and select &#8216;Standard Exe&#8217; for the new project. Once the interface is displayed, with a form visible in the center, save the form and project in the folder Client (already created) with names frmClient and prjClient respectively.</p>
<p>Set the &#8216;Caption&#8217; property of this form to &#8216;Client&#8217;. In exactly the same way as for the server part, add a Winsock control to this form (right-click toolbox, select &#8216;Components&#8217;, select &#8216;Microsoft Winsock 6.0&#8242;). Name it &#8217;sckClient&#8217;.</p>
<p>Add two text boxes and a command button. Name the text boxes &#8216;txtChatln&#8217; and &#8216;txtChatOut&#8217;. Set txtChatln&#8217;s &#8216;MultiLine&#8217; property to &#8216;True&#8217; and &#8216;ScrollBar&#8217; property to &#8216;2&#8211;Vertical&#8217;. This is available as the second choice in the dropdown tist that appears when you attempt to change the &#8216;ScrollBar&#8217; properties. Remove &#8216;Text1&#8242; and &#8216;Text2&#8242; from &#8216;Text&#8217; properties of both text boxes and leave these fields blank. For the command button, set the &#8216;Name&#8217; property to &#8216;cmdSend&#8217;, and its &#8216;Caption&#8217; property set to &#8216;Send&#8217;. After resizing the form and positioning controls over it, let&#8217;s do the coding part. For the form&#8217;s lead event, add the following code:</p>
<p><strong>sckClient.RemoteHost = &#8220;localhost&#8221;<br />
sckClient.RemotePort = 6000<br />
sckClient.Connect</strong></p>
<p>For communications, we need two pieces of information: the address of the remote machine and its port number. For a remote host, we have specified a local host&#8211;this is your own PC, because at this time, the server is also running on the same PC. As we have already set our server to listen on port 6000, the same is specified over here as well. As we are building and running this application on the same PC, we have used Iocalhost (you can also enter 127.0.0.1 in place of Iocalhost, along with the inverted commas as seen in line 1), but in case you are using this chat program to communicate over a network, you need to specify the IP address of the machine on which you have set your server to listen, instead of Iocalhost. The last line instructs our socket to connect to the server.</p>
<p>Now add the code for the send button. This works exactly the same way as the send button of the server.</p>
<p><strong>sckClient.SendData txtChatOut.Text&#038;<br />
vbCrLf<br />
txtChatOut.Text = &#8220;&#8221;</strong></p>
<p><strong>Starting Chat</strong><br />
Go to your server project and press F5 to run it. Your server is in listening mode now. Recall that we had placed listen code in Ioad event of server form. Come back to the client project and press F5 to run it too. Client will make connection with the server as we have just added connection code in Ioad event of client form. At this time we have not added any visual indication that a connection has been established or what the status of the connection is, we need to test it by typing some text in either the client or the server, in the text box just above the send button (this is the txtChatOut text box on both forms). This text would appear on the other part&#8217;s bigger text box with scrollbar (the txtChatln text box on both forms).</p>
<p>You can go to &#8216;File > Make you project.exe&#8217; menu to create standalone executable files for both client and server.</p>
<p>Remember while you testing to run the server first and then the client (otherwise the client will attempt to connect to a non-existent server!) and if you happen to close either part, close the other one too and start afresh.</p>
<p>This is a very basic chat application with minimal features and as<br />
little code as possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techduke.com/2008/03/13/creating-a-chat-program-in-visual-basic/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Windows Vista System Restore Do’s and Don’ts</title>
		<link>http://www.techduke.com/2007/10/27/windows-vista-system-restore-do%e2%80%99s-and-don%e2%80%99ts/</link>
		<comments>http://www.techduke.com/2007/10/27/windows-vista-system-restore-do%e2%80%99s-and-don%e2%80%99ts/#comments</comments>
		<pubDate>Sat, 27 Oct 2007 20:51:03 +0000</pubDate>
		<dc:creator>Tech Duke</dc:creator>
		
		<category><![CDATA[Computer ; General]]></category>

		<guid isPermaLink="false">http://www.techduke.com/2007/10/27/windows-vista-system-restore-do%e2%80%99s-and-don%e2%80%99ts/</guid>
		<description><![CDATA[You don’t have to be a Harry Potter fan to appreciate the hazards of time travel. Here are
some to be aware of:

+ If you create a new user account and then use System Restore to roll back your system configuration to a point before the new account was created, the new user will no longer [...]]]></description>
			<content:encoded><![CDATA[<p>You don’t have to be a Harry Potter fan to appreciate the hazards of time travel. Here are<br />
some to be aware of:<br />
<span id="more-294"></span></p>
<p><strong>+</strong> If you create a new user account and then use System Restore to roll back your system configuration to a point before the new account was created, the new user will no longer be able to log on, and you will receive no warning. (The good news is that the new user’s documents will be intact.)</p>
<p><strong>+</strong> System Restore does not uninstall programs, although it does remove executable files and DLLs. To avoid having orphaned program shortcuts and files, make a note of any programs that you installed after the date of the restore point you’re about to roll back to. If you don’t want the program anymore, uninstall it in the normal way before running the restore operation. If you want to continue using the program, reinstall it after the restore is complete.</p>
<p><strong>+</strong> Any changes made to your system configuration using the Windows Recovery Environment are not monitored by System Protection. This can produce unintended consequences if you make major changes to system files and then roll back your system configuration with System Restore.</p>
<p><strong>+</strong> Although you can restore your system to a previous configuration from Safe Mode, you cannot create a new restore point in Safe Mode. As a result, you cannot undo a restore operation that you perform in Safe Mode. If possible, you should always start Windows normally to perform a restore operation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techduke.com/2007/10/27/windows-vista-system-restore-do%e2%80%99s-and-don%e2%80%99ts/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Why Administrators Hate Performance Problems in Networking Tech Duke</title>
		<link>http://www.techduke.com/2007/09/30/why-administrators-hate-performance-problems-in-networking/</link>
		<comments>http://www.techduke.com/2007/09/30/why-administrators-hate-performance-problems-in-networking/#comments</comments>
		<pubDate>Mon, 01 Oct 2007 01:49:48 +0000</pubDate>
		<dc:creator>Tech Duke</dc:creator>
		
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://www.techduke.com/2007/09/30/why-administrators-hate-performance-problems-in-networking/</guid>
		<description><![CDATA[Network performance problems are among the most difficult network problems to track down and solve.

 If a user simply can’t access the network, it usually doesn’t take long to figure out why: the cable is broken, a network card or hub is malfunctioning, the user doesn’t have permission to access the resource, and so on. [...]]]></description>
			<content:encoded><![CDATA[<p>Network performance problems are among the most difficult network problems to track down and solve.<br />
<span id="more-293"></span><br />
 If a user simply can’t access the network, it usually doesn’t take long to figure out why: the cable is broken, a network card or hub is malfunctioning, the user doesn’t have permission to access the resource, and so on. After a little investigation, the problem usually reveals itself — you fix it, and move on to the next problem.</p>
<p>Unfortunately, performance problems are messier. Here are just a few of the reasons that network administrators hate performance problems:</p>
<p><strong>Performance problems are difficult to quantify.</strong> Exactly how much slower is the network now than it was a week ago, a month ago, or even a year ago? Sometimes the network just feels slow, but you can’t quite define exactly how slow it really is.</p>
<p><strong>Performance problems usually develop gradually.</strong> Sometimes a network slows down suddenly and drastically. More often, though, the network gradually gets slower, a little bit at a time, until one day the users notice that the network is slow.</p>
<p><strong>Performance problems often go unreported.</strong> They gripe about the problem to each other around the water cooler, but they don’t formally contact you to let you know that their network seems 20 percent slower than usual. As long as they can still access the network, they just assume that the problem is temporary, or that it’s just their imaginations.</p>
<p><strong>Many performance problems are intermittent.</strong> Sometimes a user calls you and complains that a certain network operation has become slower than molasses, and by the time you get to the user’s desk, the operation performs like a snap. Sometimes you can find a pattern to the intermittent behavior — say, it’s slower in the morning than in the afternoon, or it’s slow only while backups are running or while the printer is working. Other times, you can’t find a pattern. Sometimes, the operation is slow; sometimes, it isn’t.<br />
<strong><br />
Performance tuning is not an exact science.</strong> Improving performance sometimes involves educated guesswork. Will segmenting the network improve performance? Maybe. Will adding another 512 MB of RAM to the server improve performance? Well, hope springs eternal.</p>
<p><strong>Thee solution to performance problems is sometimes a hard sell.</strong> If a user is unable to access the network due to a malfunctioning component, there’s usually not much question that the purchase of a replacement is justified. However, if the network is slow and you think you can fix it by offloading your server’s contents onto a separate server, you may have trouble selling management on the new purchase.<br />
&nbsp;<br />
&nbsp;<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
<a href="http://www.shoesbootsus.com/">BCBG Shoes</a><br />
<a href="http://www.shoessandalsus.com/">KEEN Shoes</a><br />
&nbsp;<br />
&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techduke.com/2007/09/30/why-administrators-hate-performance-problems-in-networking/feed/</wfw:commentRss>
		</item>
		<item>
		<title>802.11i System Overview - Wireless Security</title>
		<link>http://www.techduke.com/2007/09/30/80211i-system-overview-wireless-security/</link>
		<comments>http://www.techduke.com/2007/09/30/80211i-system-overview-wireless-security/#comments</comments>
		<pubDate>Mon, 01 Oct 2007 01:45:48 +0000</pubDate>
		<dc:creator>Tech Duke</dc:creator>
		
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.techduke.com/2007/09/30/80211i-system-overview-wireless-security/</guid>
		<description><![CDATA[The client would first need to make a connection to the access point. This would happen through the normal open key authentication process. Contrary to most 802.11 standards, 802.11i only allows for open system authentication. This is due to the discovery of a security flaw in shared key authentication.
After the initial connection request, the client [...]]]></description>
			<content:encoded><![CDATA[<p>The client would first need to make a connection to the access point.<span id="more-292"></span> This would happen through the normal open key authentication process. Contrary to most 802.11 standards, 802.11i only allows for open system authentication. This is due to the discovery of a security flaw in shared key authentication.</p>
<p>After the initial connection request, the client would need to hear an RSN IE broadcast or send a probe request with an RSN IE. Whichever way this RSN IE frame is sent, both clients and access points need to negotiate on a cipher suite for use. After sending the RSN IE frames and reaching a negotiation, the EAP process starts. This can start with the access point sending an EAP identity request or a client sending an EAPOLStart frame. Once the EAP process has started, it will go through the EAP authentication process associated with each particular EAP type. It ends with the client receiving an EAP success message from the access point. During this process, an AAA key is sent from the authentication server to the wireless end device. This key is used as a seed key to create the keys outlined below.</p>
<p>The key exchange process takes the original 802.1x EAPOL-Key frame and makes some modifications, allowing for the use of WEP-40, WEP- 104, TKIP, and CCMP cipher suites. The EAPOLKey frame only supports WEP-40 and WEP-104 keys. The 802.11i standard modified this and added the ability for the frame to carry TKIP and CCMP keys as well. A process known as the four-way handshake accomplishes this key exchange. This process takes two main keys and creates unique group and session keys for each client. These session and group keys are created from the two main keys: (1) the pairwise key or the pairwise master key (PMK) and (2) the group key or the group master key (GMK).</p>
<p>In an 802.1x 802.11i setup, the PMK comes from the authentication server. If the 802.11i setup is using preshared keys, then the PMK is mapped to a password. The PMK is divided into three keys. The first key is the EAPOL-key confirmation key (KCK), which is used to provide data origin authenticity. The second key created from the PMK is the EAPOLkey encryption key (KEK), which is used to provide confidentiality. The last key is called the pairwise temporal key (PTK) and this key is also used for data confidentiality. To create the PTK, a pseudorandom function takes place with the access point’s MAC address, client MAC address, and a nonce sent from each side as well. This allows a single master key to create multiple session keys without having to re-exchange a new master key each time.</p>
<p>The next key with regard to 802.11i main keys is the group key or group master key (GMK). This key is similar to the PMK except that it is used for beacon and management traffic encryption. The same process of hashing senders’ and receivers’ MAC addresses and nonces is used to create a group temporal key (GTK) from a group master key.  Having discussed the keys and how they are split up to accommodate session encryption, one can now look more closely at the four-way handshake. This handshake starts with the authenticator sending the supplicant a nonce. This is often referred to as the ANonce in the 802.11i standard. This nonce is a random value used to prevent replay attacks. This means that old nonces cannot be reused. After each party receives a message, the first step before any other is to check and see if the nonce was changed or if the same nonce was incorrectly reused. Once the wireless client receives the first message, it will check the nonce and then generate an SNonce. This nonce will be used in the next step to calculate the pair transient key (PTK). After the PTK is created, the client will then send the SNonce as well as the security parameters outlined in the RSN IE frame to the access point. This information is the second message in the four-way handshake. All of this information will be encrypted using the KCK, which will protect it from any modification while in transit. Once the access point receives this, it will check that the nonce is not an old value. Once this is done, it will also generate the PTK from the SNonce and ANonce, and then check the KCK to make sure it was not modified in transit. Once this is done, the third message in the four-way handshake will take place. This message is used to tell the client to install the PTK key that was created and, if used, this message will send a GTK to the client to install. Once the client receives this, it will check the KCK and, if it is correct, install the key or keys. The last message is a confirmation used to let the authenticator know that the client has successfully installed the keys and is ready to communicate using them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techduke.com/2007/09/30/80211i-system-overview-wireless-security/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
