15,886,362 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Articles / Desktop Programming / Windows Forms
Go to Article
Stats
Revisions (2)
.NET2.0
Win2K
WinXP
Win2003
Vista
VS2005
C#
Windows
.NET
Visual-Studio
WinForms
TCP/IP Chat Application Using C#
User 2093073
Rate me:
Please
Sign up or sign in
to vote.
4.84/5 (212 votes)
30 Jan 2006
CPOL
9 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.
source.zip
CommandClient
ChatClient
bin
Debug
ChatClient.csproj
ChatClient.csproj.user
CSS
Styles.css
frmLogin.cs
frmLogin.Designer.cs
frmLogin.resx
frmMain.cs
frmMain.Designer.cs
frmMain.resx
frmPrivate.cs
frmPrivate.Designer.cs
frmPrivate.resx
Graphics
arrow.gif
back.gif
face.gif
Icons
Enter.ico
Exit.ico
Private.ico
Save.ico
SendMessage.ico
Smiely.ico
Images
arrow.gif
Enter.png
Exit.png
face.gif
MNUBack.png
Private.png
Save.png
Smiely.png
Program.cs
Properties
AssemblyInfo.cs
Resources.Designer.cs
Resources.resx
Settings.Designer.cs
Settings.settings
ShareUtils.cs
SoundResources
Door.wav
Knock.wav
Message.wav
Pow.wav
CommandClient.sln
CommandClient
bin
Debug
Command.cs
CommandClient.cs
CommandClient.csproj
Enums.cs
EventArgs.cs
Exceptions.cs
obj
Debug
TempPE
Properties
AssemblyInfo.cs
P_0_0_0.U_0.dll
P_0_0_0.U_0.xml
CommandServer
CommandServer.sln
CommandServer
bin
Debug
ClientManager.cs
Command.cs
CommandServer.csproj
Enums.cs
EventArgs.cs
Properties
AssemblyInfo.cs
ConsoleServer
bin
Debug
ConsoleServer.csproj
obj
Debug
Refactor
ResolveAssemblyReference.cache
TempPE
Program.cs
Properties
AssemblyInfo.cs
demo.zip
Demo
ChatClient.exe
CommandClient.dll
CommandServer.dll
ConsoleServer.exe
P_0_0_0.U_0.dll
��n a m e s p a c e C h a t C l i e n t { p a r t i a l c l a s s f r m P r i v a t e { / / / <