• Hamming Error Correction - with Example

    This article will focus on Hamming codes - mainly, this represents an attempt to explain a little bit better how this method can help in detecting and correcting… 1 bit errors. This method is not really useful at “higher level”...


  • C# How To: Get External IP Address

    Okay, this is a really short article, but I felt the need to write this because too many people seem to take the wrong way. Problem First: getting the external IP address of a machine shouldn’t be done locally (Dns.GetHostAddresses(Dns.GetHostName())...


  • C# Connecting to FTP Server

    In this tutorial I will show you how to use C# to connect to a FTP server and perform basic operations: uploading a file downloading a file deleting a file 1.Connecting & Logging In Before doing operations on files, you...


  • C# Sending data using GET or POST

    In this short article, I’ll show you how to send data to a website from a C# application using GET or POST method. The tutorial also includes how to receive data from a website, by getting the page’s source -...


  • C# Simple Http Server

    In this short tutorial I’ll explain how to make a simple Http Server using only C#. The server will be able to serve any page that contains client-side code (html and javascript). Basic stuff When a client requests a page...


  • C# Asynchronous Tcp Server

    This is the model of an Asynchronous TCP server, that can have multiple clients connected, each one on it’s own thread - all of this is done using a relatively short and easy-to-remember code. If you don’t have basic knowledge...


  • C# Http Server With ASP.NET

    This tutorial will show you how to create a HTTP server that can parse ASP.NET files. It will be able to serve pages containing html,css and server-side code. As always I’ll try to keep the code simple - luckily .NET...


  • C# Send email using Gmail

    In this tutorial … we’ll send emails :) using C# of course. 1. Required: SMTP server I use: smtp.google.com , you must have a Gmail account Little attention / some basic knowledge of C# 2. Creating the client We start...


  • C# Simple Tcp Server

    If you got here, you probably want to know how to make a simple server in C#, using the shortest possible code and the easiest method to understand. For the sake of simplicity we’ll make a synchronous server using a...