Introduction - If you have any usage issues, please Google them yourself
This is a very good case study of the TCP, These include the use of socket in the bottom of the integrity of communication flow, for your reference
Packet : 51622418tcpipchat.zip filelist
CommandClient/
CommandClient/ChatClient/
CommandClient/ChatClient/bin/
CommandClient/ChatClient/bin/Debug/
CommandClient/ChatClient/ChatClient.csproj
CommandClient/ChatClient/ChatClient.csproj.user
CommandClient/ChatClient/CSS/
CommandClient/ChatClient/CSS/Styles.css
CommandClient/ChatClient/frmLogin.cs
CommandClient/ChatClient/frmLogin.Designer.cs
CommandClient/ChatClient/frmLogin.resx
CommandClient/ChatClient/frmMain.cs
CommandClient/ChatClient/frmMain.Designer.cs
CommandClient/ChatClient/frmMain.resx
CommandClient/ChatClient/frmPrivate.cs
CommandClient/ChatClient/frmPrivate.Designer.cs
CommandClient/ChatClient/frmPrivate.resx
CommandClient/ChatClient/Graphics/
CommandClient/ChatClient/Graphics/arrow.gif
CommandClient/ChatClient/Graphics/back.gif
CommandClient/ChatClient/Graphics/face.gif
CommandClient/ChatClient/Icons/
CommandClient/ChatClient/Icons/Enter.ico
CommandClient/ChatClient/Icons/Exit.ico
CommandClient/ChatClient/Icons/Private.ico
CommandClient/ChatClient/Icons/Save.ico
CommandClient/ChatClient/Icons/SendMessage.ico
CommandClient/ChatClient/Icons/Smiely.ico
CommandClient/ChatClient/Images/
CommandClient/ChatClient/Images/arrow.gif
CommandClient/ChatClient/Images/Enter.png
CommandClient/ChatClient/Images/Exit.png
CommandClient/ChatClient/Images/face.gif
CommandClient/ChatClient/Images/MNUBack.png
CommandClient/ChatClient/Images/Private.png
CommandClient/ChatClient/Images/Save.png
CommandClient/ChatClient/Images/Smiely.png
CommandClient/ChatClient/Program.cs
CommandClient/ChatClient/Properties/
CommandClient/ChatClient/Properties/AssemblyInfo.cs
CommandClient/ChatClient/Properties/Resources.Designer.cs
CommandClient/ChatClient/Properties/Resources.resx
CommandClient/ChatClient/Properties/Settings.Designer.cs
CommandClient/ChatClient/Properties/Settings.settings
CommandClient/ChatClient/ShareUtils.cs
CommandClient/ChatClient/SoundResources/
CommandClient/ChatClient/SoundResources/Door.wav
CommandClient/ChatClient/SoundResources/Knock.wav
CommandClient/ChatClient/SoundResources/Message.wav
CommandClient/ChatClient/SoundResources/Pow.wav
CommandClient/CommandClient/
CommandClient/CommandClient.sln
CommandClient/CommandClient/bin/
CommandClient/CommandClient/bin/Debug/
CommandClient/CommandClient/Command.cs
CommandClient/CommandClient/CommandClient.cs
CommandClient/CommandClient/CommandClient.csproj
CommandClient/CommandClient/Enums.cs
CommandClient/CommandClient/EventArgs.cs
CommandClient/CommandClient/Exceptions.cs
CommandClient/CommandClient/obj/
CommandClient/CommandClient/obj/Debug/
CommandClient/CommandClient/obj/Debug/TempPE/
CommandClient/CommandClient/Properties/
CommandClient/CommandClient/Properties/AssemblyInfo.cs
CommandClient/P_0_0_0.U_0.dll
CommandClient/P_0_0_0.U_0.xml
CommandServer/
CommandServer/CommandServer/
CommandServer/CommandServer.sln
CommandServer/CommandServer/bin/
CommandServer/CommandServer/bin/Debug/
CommandServer/CommandServer/ClientManager.cs
CommandServer/CommandServer/Command.cs
CommandServer/CommandServer/CommandServer.csproj
CommandServer/CommandServer/Enums.cs
CommandServer/CommandServer/EventArgs.cs
CommandServer/CommandServer/Properties/
CommandServer/CommandServer/Properties/AssemblyInfo.cs
CommandServer/ConsoleServer/
CommandServer/ConsoleServer/bin/
CommandServer/ConsoleServer/bin/Debug/
CommandServer/ConsoleServer/ConsoleServer.csproj
CommandServer/ConsoleServer/obj/
CommandServer/ConsoleServer/obj/Debug/
CommandServer/ConsoleServer/obj/Debug/Refactor/
CommandServer/ConsoleServer/obj/Debug/ResolveAssemblyReference.cache
CommandServer/ConsoleServer/obj/Debug/TempPE/
CommandServer/ConsoleServer/Program.cs
CommandServer/ConsoleServer/Properties/
CommandServer/ConsoleServer/Properties/AssemblyInfo.cs