Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Asynchronous socket communication

, 27 Nov 2001
An article on using sockets to communicate in a non-blocking manner. The sample works through building a simple chat client and server.
socketsincs_demo.zip
ChatClient.exe
ChatServer.exe
socketsincs_src.zip
cs
Chat
ChatClient
bin
Debug
ChatClient.csproj.user
licenses.licx
obj
Debug
temp
TempPE
ChatServer
ChatServer.csproj.user
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.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

John McTainsh

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.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.141223.1 | Last Updated 28 Nov 2001
Article Copyright 2001 by John McTainsh
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid