Click here to Skip to main content
15,886,049 members
Articles / Desktop Programming / Windows Forms

TCP/IP Chat Application Using C#

Rate me:
Please Sign up or sign in to vote.
4.84/5 (212 votes)
30 Jan 2006CPOL9 min read 2.4M   208.2K   640  
This is a LAN chat application with TCP/IP socket programming technology in C#. This application is a multi thread network application and works in a non-blocking way. Public and private chat is also implemented in this code.
using System;

namespace Proshot.CommandClient
{
    /// <summary>
    /// Throw when the remote server not found.
    /// </summary>
    public class ServerNotFoundException : Exception
    {
        /// <summary>
        /// Creates an instance of ServerNotFoundException class.
        /// </summary>
        /// <param name="message">The message to show to the user.</param>
        public ServerNotFoundException(string message): base(message)
        { }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Comments and Discussions