Click here to Skip to main content
15,892,059 members
Articles / Programming Languages / XML

Asynchronous Socket Communication

Rate me:
Please Sign up or sign in to vote.
4.87/5 (130 votes)
27 Nov 20017 min read 752.6K   27.1K   417  
An article on using sockets to communicate in a non-blocking manner. The sample works through building a simple chat client and server.
Microsoft Visual Studio Solution File, Format Version 7.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChatServer", "ChatServer.csproj", "{93CDF511-BB62-4697-981A-598AAE16D10D}"
EndProject
Global
	GlobalSection(SolutionConfiguration) = preSolution
		ConfigName.0 = Debug
		ConfigName.1 = Release
	EndGlobalSection
	GlobalSection(ProjectDependencies) = postSolution
	EndGlobalSection
	GlobalSection(ProjectConfiguration) = postSolution
		{93CDF511-BB62-4697-981A-598AAE16D10D}.Debug.ActiveCfg = Debug|.NET
		{93CDF511-BB62-4697-981A-598AAE16D10D}.Debug.Build.0 = Debug|.NET
		{93CDF511-BB62-4697-981A-598AAE16D10D}.Release.ActiveCfg = Release|.NET
		{93CDF511-BB62-4697-981A-598AAE16D10D}.Release.Build.0 = Release|.NET
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
	EndGlobalSection
	GlobalSection(ExtensibilityAddIns) = postSolution
	EndGlobalSection
EndGlobal

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.


Written By
United States United States
I starting writing code when Apple IIe was all the rage (1982?). Graduated Mechanical Engineering in New Zealand, so I could build Robots. Took up Commerical diving in Asia for a few years to make some quick money (Spent it all). I have been writing C/C++/Assembly and building underwater robots since MS QuickC/Quick Assembler in 1989. I currently live in Australia and work mosly with MS VisualC.

Comments and Discussions