Click here to Skip to main content
12,633,414 members (32,265 online)
Click here to Skip to main content

Stats

73.1K views
8.3K downloads
139 bookmarked
Posted

A full library for a Socket Client/Server system

, 14 Jan 2015 CPOL
My article shows a library that everyone can use to create their socket communication. Also it explains how the library is developed.
SocketServer V2
AsyncClientServerLib
bin
Debug
AsyncClientServerLib.dll
AsyncClientServerLib.pdb
SocketServerLib.dll
SocketServerLib.pdb
Release
Client
Message
obj
Debug
AsyncClientServerLib.dll
AsyncClientServerLib.pdb
DesignTimeResolveAssemblyReferencesInput.cache
TempPE
Properties
Server
SocketHandler
BasicClientServerLib
BasicClassDiagram.cd
bin
Debug
BasicClientServerLib.dll
BasicClientServerLib.pdb
SocketServerLib.dll
SocketServerLib.pdb
Release
Client
Message
obj
Debug
BasicClientServerLib.dll
BasicClientServerLib.pdb
DesignTimeResolveAssemblyReferencesInput.cache
ResolveAssemblyReference.cache
TempPE
Properties
Server
SocketHandler
Local.testsettings
SocketServer.sln.docstates.suo
SocketServer.suo
SocketServer.vsmdi
SocketServerLib
bin
Debug
SocketServerLib.dll
SocketServerLib.pdb
Release
Client
Message
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache
SocketServerLib.dll
SocketServerLib.pdb
TempPE
Properties
Server
SocketHandler
Threads
TestApp
bin
Debug
AsyncClientServerLib.dll
AsyncClientServerLib.pdb
SocketServerLib.dll
SocketServerLib.pdb
TestApp.exe
TestApp.pdb
TestApp.vshost.exe
TestApp.vshost.exe.manifest
Release
obj
x86
Debug
DesignTimeResolveAssemblyReferences.cache
DesignTimeResolveAssemblyReferencesInput.cache
GenerateResource.read.1.tlog
GenerateResource.write.1.tlog
ResolveAssemblyReference.cache
TempPE
TestApp.exe
TestApp.FormClient.resources
TestApp.FormServer.resources
TestApp.pdb
TestApp.Properties.Resources.resources
Properties
TestResults
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_33_58.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_37_00.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_37_28.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_40_13.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_40_29.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_40_29
In
ALEX-APPLE-W7
Out
AgentRestart.dat
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_41_05.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_41_49.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_48_13.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_48_46.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_51_31.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 18_02_26.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 18_03_03.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 18_03_03
In
ALEX-APPLE-W7
Out
AgentRestart.dat
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 18_04_01.trx
TraceAndTestImpact.testsettings
UnitTestProject
bin
Debug
BasicClientServerLib.dll
BasicClientServerLib.pdb
SocketServerLib.dll
SocketServerLib.pdb
UnitTestProject.dll
UnitTestProject.pdb
Release
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache
ResolveAssemblyReference.cache
TempPE
UnitTestProject.dll
UnitTestProject.pdb
Properties
SocketServer V4
AsyncClientServerLib
Client
Message
obj
Debug
Properties
Server
SocketHandler
BasicClientServerLib
BasicClassDiagram.cd
Client
Message
obj
Debug
Properties
Server
SocketHandler
Local.testsettings
SocketServer.sln.docstates.suo
SocketServer.suo
SocketServer.vsmdi
SocketServerLib
Client
Message
obj
Debug
Properties
Server
SocketHandler
Threads
TestApp
bin
Debug
TestApp.vshost.exe.manifest
obj
x86
Debug
GenerateResource.read.1.tlog
GenerateResource.write.1.tlog
TestApp.FormClient.resources
TestApp.FormServer.resources
TestApp.Properties.Resources.resources
Properties
TestResults
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_33_58.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_37_00.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_37_28.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_40_13.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_40_29.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_40_29
Out
AgentRestart.dat
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_41_05.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_41_49.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_48_13.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_48_46.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_51_31.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 18_02_26.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 18_03_03.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 18_03_03
Out
AgentRestart.dat
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 18_04_01.trx
TraceAndTestImpact.testsettings
UnitTestProject
obj
Debug
Properties
bin
Debug
AsyncClientServerLib.dll
AsyncClientServerLib.pdb
SocketServerLib.dll
SocketServerLib.pdb
Release
AsyncClientServerLib.dll
AsyncClientServerLib.pdb
DesignTimeResolveAssemblyReferencesInput.cache
TempPE
BasicClassDiagram.cd
bin
Debug
BasicClientServerLib.dll
BasicClientServerLib.pdb
SocketServerLib.dll
SocketServerLib.pdb
Release
BasicClientServerLib.dll
BasicClientServerLib.pdb
DesignTimeResolveAssemblyReferencesInput.cache
ResolveAssemblyReference.cache
TempPE
Local.testsettings
SocketServer.sln.docstates.suo
SocketServer.suo
SocketServer.vsmdi
bin
Debug
SocketServerLib.dll
SocketServerLib.pdb
Release
DesignTimeResolveAssemblyReferencesInput.cache
SocketServerLib.dll
SocketServerLib.pdb
TempPE
AsyncClientServerLib.dll
AsyncClientServerLib.pdb
SocketServerLib.dll
SocketServerLib.pdb
TestApp.exe
TestApp.pdb
TestApp.vshost.exe
TestApp.vshost.exe.manifest
Release
DesignTimeResolveAssemblyReferences.cache
DesignTimeResolveAssemblyReferencesInput.cache
GenerateResource.read.1.tlog
GenerateResource.write.1.tlog
ResolveAssemblyReference.cache
TempPE
TestApp.exe
TestApp.FormClient.resources
TestApp.FormServer.resources
TestApp.pdb
TestApp.Properties.Resources.resources
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_33_58.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_37_00.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_37_28.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_40_13.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_40_29.trx
In
ALEX-APPLE-W7
AgentRestart.dat
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_41_05.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_41_49.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_48_13.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_48_46.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_51_31.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 18_02_26.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 18_03_03.trx
In
ALEX-APPLE-W7
AgentRestart.dat
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 18_04_01.trx
TraceAndTestImpact.testsettings
bin
Debug
BasicClientServerLib.dll
BasicClientServerLib.pdb
SocketServerLib.dll
SocketServerLib.pdb
SocketServerLib_Accessor.dll
SocketServerLib_Accessor.pdb
UnitTestProject.dll
UnitTestProject.pdb
Release
BasicClientServerLib_Accessor.dll
BasicClientServerLib_Accessor.pdb
DesignTimeResolveAssemblyReferencesInput.cache
ResolveAssemblyReference.cache
SocketServerLib_Accessor.dll
SocketServerLib_Accessor.pdb
TempPE
UnitTestProject.dll
UnitTestProject.pdb
SocketServer V4 dotnet 2.0
AsyncClientServerLib
bin
Debug
AsyncClientServerLib.pdb
MultiThreadQueueLib.pdb
SocketServerLib.pdb
Release
Client
Message
obj
Debug
AsyncClientServerLib.csprojResolveAssemblyReference.cache
AsyncClientServerLib.pdb
DesignTimeResolveAssemblyReferencesInput.cache
TempPE
Properties
Server
SocketHandler
BasicClientServerLib
BasicClassDiagram.cd
bin
Debug
BasicClientServerLib.pdb
MultiThreadQueueLib.pdb
SocketServerLib.pdb
Release
Client
Message
obj
Debug
BasicClientServerLib.csprojResolveAssemblyReference.cache
BasicClientServerLib.pdb
DesignTimeResolveAssemblyReferencesInput.cache
ResolveAssemblyReference.cache
TempPE
Properties
Server
SocketHandler
Local.testsettings
MultiThreadQueueLib
bin
Debug
MultiThreadQueueLib.pdb
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache
MultiThreadQueueLib.pdb
TempPE
Properties
SocketServer.sln.docstates.suo
SocketServer.suo
SocketServer.vsmdi
SocketServerLib
bin
Debug
MultiThreadQueueLib.pdb
SocketServerLib.pdb
Release
Client
Message
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache
SocketServerLib.csprojResolveAssemblyReference.cache
SocketServerLib.pdb
TempPE
Properties
Server
SocketHandler
Threads
TestApp
bin
Debug
AsyncClientServerLib.pdb
MultiThreadQueueLib.pdb
SocketServerLib.pdb
TestApp.pdb
TestApp.vshost.exe.manifest
Release
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache
TempPE
TestApp.csproj.GenerateResource.Cache
TestApp.csprojResolveAssemblyReference.cache
TestApp.FormClient.resources
TestApp.FormServer.resources
TestApp.pdb
TestApp.Properties.Resources.resources
x86
Debug
build.force
DesignTimeResolveAssemblyReferences.cache
DesignTimeResolveAssemblyReferencesInput.cache
GenerateResource.read.1.tlog
GenerateResource.write.1.tlog
ResolveAssemblyReference.cache
TempPE
TestApp.csproj.GenerateResource.Cache
TestApp.csprojResolveAssemblyReference.cache
TestApp.FormClient.resources
TestApp.FormServer.resources
TestApp.pdb
TestApp.Properties.Resources.resources
Properties
TestResults
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_33_58.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_37_00.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_37_28.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_40_13.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_40_29.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_40_29
In
ALEX-APPLE-W7
Out
AgentRestart.dat
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_41_05.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_41_49.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_48_13.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_48_46.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_51_31.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 18_02_26.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 18_03_03.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 18_03_03
In
ALEX-APPLE-W7
Out
AgentRestart.dat
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 18_04_01.trx
Alessandro Lentini_WIN-FOK1BP4S0CP 2015-01-08 13_10_41.trx
TraceAndTestImpact.testsettings
UnitTestProject
bin
Debug
BasicClientServerLib.pdb
MultiThreadQueueLib.pdb
SocketServerLib.pdb
SocketServerLib_Accessor.pdb
UnitTestProject.pdb
Release
obj
Debug
BasicClientServerLib_Accessor.pdb
DesignTimeResolveAssemblyReferencesInput.cache
ResolveAssemblyReference.cache
SocketServerLib_Accessor.pdb
TempPE
UnitTestProject.csprojResolveAssemblyReference.cache
UnitTestProject.pdb
Properties
AsyncClientServerLib.dll
AsyncClientServerLib.pdb
MultiThreadQueueLib.dll
MultiThreadQueueLib.pdb
SocketServerLib.dll
SocketServerLib.pdb
AsyncClientServerLib.csprojResolveAssemblyReference.cache
AsyncClientServerLib.dll
AsyncClientServerLib.pdb
DesignTimeResolveAssemblyReferencesInput.cache
BasicClassDiagram.cd
BasicClientServerLib.dll
BasicClientServerLib.pdb
MultiThreadQueueLib.dll
MultiThreadQueueLib.pdb
SocketServerLib.dll
SocketServerLib.pdb
BasicClientServerLib.csprojResolveAssemblyReference.cache
BasicClientServerLib.dll
BasicClientServerLib.pdb
DesignTimeResolveAssemblyReferencesInput.cache
ResolveAssemblyReference.cache
Local.testsettings
MultiThreadQueueLib.dll
MultiThreadQueueLib.pdb
DesignTimeResolveAssemblyReferencesInput.cache
MultiThreadQueueLib.dll
MultiThreadQueueLib.pdb
SocketServer.sln.docstates.suo
SocketServer.suo
SocketServer.vsmdi
MultiThreadQueueLib.dll
MultiThreadQueueLib.pdb
SocketServerLib.dll
SocketServerLib.pdb
DesignTimeResolveAssemblyReferencesInput.cache
SocketServerLib.csprojResolveAssemblyReference.cache
SocketServerLib.dll
SocketServerLib.pdb
AsyncClientServerLib.dll
AsyncClientServerLib.pdb
MultiThreadQueueLib.dll
MultiThreadQueueLib.pdb
SocketServerLib.dll
SocketServerLib.pdb
TestApp.exe
TestApp.pdb
TestApp.vshost.exe
TestApp.vshost.exe.manifest
DesignTimeResolveAssemblyReferencesInput.cache
Properties.Resources.Designer.cs.dll
TestApp.csproj.GenerateResource.Cache
TestApp.csprojResolveAssemblyReference.cache
TestApp.exe
TestApp.FormClient.resources
TestApp.FormServer.resources
TestApp.pdb
TestApp.Properties.Resources.resources
build.force
DesignTimeResolveAssemblyReferences.cache
DesignTimeResolveAssemblyReferencesInput.cache
GenerateResource.read.1.tlog
GenerateResource.write.1.tlog
ResolveAssemblyReference.cache
Properties.Resources.Designer.cs.dll
TestApp.csproj.GenerateResource.Cache
TestApp.csprojResolveAssemblyReference.cache
TestApp.exe
TestApp.FormClient.resources
TestApp.FormServer.resources
TestApp.pdb
TestApp.Properties.Resources.resources
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_33_58.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_37_00.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_37_28.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_40_13.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_40_29.trx
AgentRestart.dat
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_41_05.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_41_49.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_48_13.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_48_46.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 17_51_31.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 18_02_26.trx
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 18_03_03.trx
AgentRestart.dat
Alessandro Lentini_ALEX-APPLE-W7 2013-03-17 18_04_01.trx
Alessandro Lentini_WIN-FOK1BP4S0CP 2015-01-08 13_10_41.trx
TraceAndTestImpact.testsettings
BasicClientServerLib.dll
BasicClientServerLib.pdb
MultiThreadQueueLib.dll
MultiThreadQueueLib.pdb
SocketServerLib.dll
SocketServerLib.pdb
SocketServerLib_Accessor.dll
SocketServerLib_Accessor.pdb
UnitTestProject.dll
UnitTestProject.pdb
BasicClientServerLib_Accessor.dll
BasicClientServerLib_Accessor.pdb
DesignTimeResolveAssemblyReferencesInput.cache
ResolveAssemblyReference.cache
SocketServerLib_Accessor.dll
SocketServerLib_Accessor.pdb
UnitTestProject.csprojResolveAssemblyReference.cache
UnitTestProject.dll
UnitTestProject.pdb

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)

Share

About the Author

Alessandro Lentini
Team Leader Mediatech Solutions
Italy Italy
I’m an IT Project Manager for an Italian Betting Company and over the last 2 years I acquired experience in Betting area.
I have developed code in different object oriented languages (C#, C++, Java) for more than 10 years using a set of technology such as .Net, J2EE, multithreading, etc…

You may also be interested in...

Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.161208.2 | Last Updated 14 Jan 2015
Article Copyright 2013 by Alessandro Lentini
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid