C# Corner

  • TCP Date Client/ServerJan 03, 2000. Free to use Tutorials on Communicating using TCP Sockets on Microsoft's .NET Platform using C#...
  • Chat Server and Client in C# Using Remoting TechnologyFeb 16, 2001. This application is a simple Chat server and Client, which is conversion of Java RMI chat server and client. The Java client was a Applet and present application client in Windows Forms.
  • Simple SMTP MailerMar 26, 2001. This is a simple program which shows how to send mail via SMTP without using any framework support. While using the .NET SMTP classes may be a little easier, it is good to be able to go under the hood and get your hands dirty to understand what is going on at the socket level. For simple text messages, this implementation works fine.
  • Remoting in .NETApr 05, 2001. .NET Remoting provides a way for application in different machines/domains to communicate with each other.
  • Wireless Model : How Does It Work?May 09, 2001. The browser sends an HTTP request to the Web server, which interprets the request and determines which resources to retrieve or execute. If the URL specifies a file, then the server sends it back.
  • TCP/IPLib SampleJun 22, 2001. This compopnent contains both a TCP/IP server and client. TcpIpClient inherits from System.Net.Sockets.TCPClient and is very straight forward. After construction, specifying the host and port, a network connection is established by calling Connect(). Internally, upon a successful connection, the client receives a TcpIpPacket, which contains a unique cookie that is used in any subsequent transactions.
  • TCP Client and ServerSep 20, 2001. You need to compile the server and the client programs separately. Before compiling, change the IP address in both programs to match that of your machine (NOTE: You can get IP address of your machine if you run 'ipconfig' from the command prompt in Windows NT/2000 m/c's)
  • A Simple Multi-threaded TCP/UDP Server and Client V2.Sep 24, 2001. This is the second version of my client/server program. The server and the client can be run on the same machine or on different machines. The following is the brief description of the server and the client programs specifically.
  • Real Time ApplicationOct 02, 2001. The Real time Application is a sample that shows the communication techniques between a client (TcpClient) and a server (TcpServer) application using Socket class on each side. The project also demonstrates how to using listview control in the real time project.
  • Email Notifier with Microsoft Agent--- GENIENov 16, 2001. Email notifier with Microsoft Agent is a TCP/IP application that notifies the user if there is email in the user's email server.
  • Using Interfaces in .NET RemotingNov 30, 2001. In this article, we will create a remote object that will return rows from a database table. For the sake of simplicity I have used the NorthWind database that is packed with the installation of the Microsoft SQL Server.
  • Chat Server with Client Implemented with C#Jan 19, 2002. This client/server application let you chat ....
  • Marble Solitaire Solution Display in GDI+Feb 13, 2002. The application finds and displays solutions to a game of solitaire. The application was written using Visual Studio.NET Version 7.0.9254. The test suite was written using NUnit, which is a .NET port of JUnit.
  • Multi-threaded Web Applications - Case I: Search EngineMar 07, 2002. This article is the first of the series of 4. I will demonstrate the use of threading in web applications by implementing a simply search engine. The following 3 articles in the series will be a Port Scanner, a Reverse DNS and a Web Hammer respectively.
  • Multi-threaded Web Applications - Case II: Port ScannerMar 12, 2002. This article continues the 4-parts series of Multi-threaded Web Applications. In the first part, I have demonstrated how you can use multi-threading with ASP.NET to make a web based search engine more responsive, and to reduce the time required to compose the result. In this article, I will demonstrate how you can apply the same technique to a web based port scanner.
  • .NET Remoting: The Interface ApproachMar 26, 2002. .NET Remoting provides a powerful and high performance way of working with remote objects. Architecturally, .NET Remote objects are a perfect fit for accessing resources across the network without the overhead posed by SOAP based Web services. .NET Remoting is easier to use than Java's RMI, but definitely more difficult than creating a WebService. In this article, we will create a remote object, and access this object using the Interface.
  • .NET Remoting: The Interface ApproachMar 26, 2002. In this article, we will create a remote object, and access this object using the Interface. The object returns rows from a database table.
  • Multicasting using UDP in C#Apr 04, 2002. The attached source code shows you how to use multi casting in a LAN environment.
  • Remoting in C#May 13, 2002. This simple article shows you how to write simple server and client to access the server remotely.
  • Distributed Cross Platform Applications, the Easy Way Mar 07, 2003. There are many ways of transferring data from one process to another. All those methods have some advantages, but also some drawbacks.
  • Getting Official DayTime using NIST TimeServerApr 21, 2003. This program shows how to create a simple socket to a NIST timeserver (Port 13) and using the Daytime Protocol, gets the official time.
  • A CLassic Warm Game Over TCP/IP with Multiplayer SupportJun 09, 2003. Worms.NET is an example of networking and graphics programming on .NET. This is a classic game with a worm.
  • Portscanning for Kazaa using C# SocketsJan 01, 2006. In this article, you will learn how to write c# code to scan a host computer, and determine if it is running Kazaa, the popular P2P file sharing program.
  • Considerations in Porting and Deploying a WinForms GDI+ Game to the Pocket PCJul 09, 2006. This article describes some of the issues I came across when porting a Windows Form Game to the Pocket PC. It also describes how to deploy a Windows Mobile Application from Visual Studio 5.
  • Mapping with a GPS and C#Sep 05, 2007. This article shall describe a very simple approach to working with a GPS device within the context of a C# application.
  • Accessing Rmote SQL server by Remoting (TCP)Mar 31, 2008. This article describes how to build a distribution application that accesses MS SQL Server 2000 with a remoting service.
  • Writing Your Own GPS Applications: Part IAug 18, 2008. What is it that GPS applications need to be good enough to use for in-car navigation? Also, how does the process of interpreting GPS data actually work? In this three-part series, I will cover both topics and give you the skills you need to write a commercial-grade GPS application.
  • Communicating with Serial Port in C#Dec 08, 2008. This article shows how to communicated with Serial Port using C#.
  • BizTalk OrchestrationsFeb 06, 2009. In this article, I will cover one important component of Microsoft BizTalk Server, the orchestrations. Basically an orchestration is the executable code to run a workflow supporting a business process. Orchestration interacts with outside entities by using the ports. All these things together are a powerful tool to perform process automation.
  • Streaming in WCFSep 07, 2009. In this article, I am going to explain various aspects of streaming of messages in WCF.
  • Storing Bulk TCP Dump File into SQL Server 2005Oct 28, 2009. In this article I will explain all steps needed to load tcp dump file into SQL Server 2005.
  • Standardizing Incoming Messages Using Inbound Maps Tab on Receive Port Properties in BizTalk ServerNov 25, 2009. In this article we will see how to develop integration applications which receive documents with different schemas arriving from external entities, and it’s required to transform each format to a common (canonical) internal schema using port maps on the receive ports in BizTalk Server.
  • C# and Win32_PortConnector ClassAug 16, 2010. In this article you will learn how to use Different available port connector in a computer system using C# and Win32_PortConnector Class.
  • Magic Eight Ball on the Windows Phone 7Nov 26, 2010. The New Windows Phone provides a lot of opportunity for Microsoft C# .NET developers. This article describes the port of a Silverlight Browser Application called Magic EightBall to the Windows Phone.
  • Setting Up the Firewall on Local System/Computer to Connect to SQL AzureDec 10, 2010. If we want to connect to SQL Azure from a local system then we need to create an exception in the local firewall for TCP port 1433.
  • Sharing port between services in netTcpBindingMar 09, 2011. WCF allows us to share a port between services in a TCP connection. A HTTP connection is allowed on IIS using HTTP.SYS Service.
  • Getting started with MonoDevelopOct 25, 2011. MonoDevelop is a free GNOME IDE primarily designed for C# and other .NET languages. MonoDevelop makes it easy for developers to port .NET applications created with Visual Studio to Linux and to maintain a single code base for all platforms.
  • Networking in JAVAFeb 20, 2012. In this article we are exploring networking using TCP/IP protocols and try to make a small server and clients and show some information.
  • UDP Client Server ProgramingFeb 21, 2012. In this article we are going to describe the major differences between TCP and UDP protocols. We will also describe the difference in programming terms of which type of method is used in UDP client/server programming and also make a simple example of a UDP client and UDP server.
  • Check Which TCP/IP Ports Are in Use in Windows 8 to Secure Your PCMay 03, 2012. In this article i will explain how to determine which TCP/IP ports are in use in Windows 8 to secure your PC
  • An HTTP Mail Client in VB.NET Nov 10, 2012. The great thing about the POP mail protocol is that it is a well-documented open standard, making writing a mail client to collect mail from a POP box a relatively painless process.
  • How to Disable USB Port in Windows 8Dec 01, 2012. In this article we are going to explain how to disable a USB port in Windows 8.
  • How to Enable USB Port in Windows 8Dec 03, 2012. This article explains how to enable a USB port in Windows 8.
  • WCF Method OverloadingDec 26, 2012. This is the most asked question in the interviews. So, I thought of writing a small article on the method overloading since it may help others.
  • Reset Internet Protocol (TCP/IP) in Windows 8Mar 09, 2013. In this article we are explaining how to reset Internet Protocol (TCP/IP) in Windows 8.
  • Creating Multiple SharePoint 2010/2013 Web Applications in Single PortMar 19, 2013. Setting up a SharePoint web application is fun and easy if we know some of the basics of web application hosting.
  • TCP Port Sharing and Web Server(IIS) Under Application Server in Windows Server 2012Apr 11, 2013. In this today article you will learn about how to install the TCP Port Sharing and Web Server (IIS) under Application Server in Windows Server 2012.
  • Enable the Net.Tcp Port Sharing Service Used by WCF For Port Sharing Across Multiple ProcessesApr 12, 2013. In today's article you will learn how to enable the Net.Tcp Port Sharing Service, so that it can be used by WCF for Port Sharing across multiple processes.
  • Hosting Your WCF ServiceApr 18, 2013. In this article I have covered multiple hosting for a web based client and Windows based client by using a Fault Contract and database connectivity.
  • Secured Connection Between SQL Server and C# Using Specific PortMay 10, 2013. In this article we will discuss how get the port no of our own SQL Server instance and how to use that port in SQL Server setting and at the end how use that port in your C Sharp application.
  • Look at TCP Chimney Offload in Windows Server 2008Oct 07, 2013. In this article, we will look into the TCP Chimney Offload feature, its purpose and how to enable it.
  • How to Set Specific Page and Port in Web APIOct 29, 2013. This article show how to select a specific page and port in the Web API.
  • Configuring SharePoint 2013 and SQL Server to Communicate Over Non-Standard PortsJul 03, 2014. This article explains how to configure SharePoint 2013 and SQL Server to communicate over non-standard ports.
  • Database Hardening For SharePoint 2013Jul 03, 2014. This article explains how to secure communication between servers in a farm by blocking the default ports used for SQL Server communication and establishing custom ports for this communication instead, in SharePoint 2013.
  • Applied C#.NET Socket ProgrammingOct 20, 2014. This article explains the key networking concepts, for instance ISO stack, of TCP/IP under the C# framework by employing its essential socket classes and how applications can logically and physically be distributed in a network environment.
  • Host WCF in a Windows Service Using TCPJun 08, 2015. In this article you will learn how to host WCF in a Windows Service Using TCP.
  • NodeJS Series Part 4: Creating a Port ListenerJul 05, 2015. Here I will describe NodeJS which is Part 4 of NodeJS series. The purpose of this article is about creating a server, listening to it through a port number and then sending output to the browser.
  • Creating a Server/Client Application Using Only TCP ProtocolJul 13, 2015. In this article, I will go through variosu stages of programming a server/client application framework in native .NET framework using TCP protocol only.
  • Send Email Using ASP.Net With C#Jul 16, 2015. In this article you will learn how to send an email using ASP.NET and C#.
  • The ABC Of Android Wear ApplicationsSep 21, 2015. In this article I am focusing on writing a collection of tips and resources for Android developers who want to port their applications on Android Wear also.
  • Send Email To Gmail Using GmailSend.dllOct 07, 2015. In this article, I will show you how to send Gmail using GmailSend.dll without using any SMTP port or host in windows application using C#.
  • Deploying A Website In Azure via FTP (File Transfer Protocol)Oct 31, 2015. In this article you will learn how to deploy a website in Azure via FTP.
  • Specifying Ports When Running Applications In Visual StudioNov 04, 2015. In this article you will learn how to specify ports while running applications in Visual Studio.
  • WCF Security ImplementationNov 13, 2015. In this article you will learn WCF Security Implementation.
  • Resolve Port Conflicts Between WAMP Server And SkypeDec 10, 2015. In this post we will see how we can resolve the port conflicts between Wamp server and Skype.
  • Resolve Error 40: Could Not Open a Connection to SQL ServerMay 10, 2016. In this article we will discuss about various reasons and solutions to resolve error : 40 related to SQL Server connection.
  • Building a TCP Server In .NET Core On UbuntuJun 14, 2016. In this article, you will learn how to build a TCP Server in .NET Core on Ubuntu.

About TCP-port-1433



Custom Software Development
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.
Download Free eBooks