C# app receives message on socket (CSSocketServer)

The VC# code sample demonstrates creating a socket object to listen to the incoming connections. CSSocketClient and CSSocketServer show the basic socket programming.

C# (52.4 KB)
 
 
 
 
 
3.7 Star
(6)
12,182 times
Add to favorites
2/20/2013
E-mail Twitter del.icio.us Digg Facebook

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSSocketServer", "CSSocketServer\CSSocketServer.csproj", "{FD243BB9-377E-4639-8655-DEF6ECBAED9E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSSocketClient", "CSSocketClient\CSSocketClient.csproj", "{3A41CEFF-2019-4879-BC2F-FE3D1AA90B69}"
	ProjectSection(ProjectDependencies) = postProject
		{FD243BB9-377E-4639-8655-DEF6ECBAED9E} = {FD243BB9-377E-4639-8655-DEF6ECBAED9E}
	EndProjectSection
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{FD243BB9-377E-4639-8655-DEF6ECBAED9E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{FD243BB9-377E-4639-8655-DEF6ECBAED9E}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{FD243BB9-377E-4639-8655-DEF6ECBAED9E}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{FD243BB9-377E-4639-8655-DEF6ECBAED9E}.Release|Any CPU.Build.0 = Release|Any CPU
		{3A41CEFF-2019-4879-BC2F-FE3D1AA90B69}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{3A41CEFF-2019-4879-BC2F-FE3D1AA90B69}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{3A41CEFF-2019-4879-BC2F-FE3D1AA90B69}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{3A41CEFF-2019-4879-BC2F-FE3D1AA90B69}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal