Click here to Skip to main content
12,500,915 members (51,562 online)
Click here to Skip to main content

Stats

588K views
20.2K downloads
399 bookmarked
Posted

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.
ChatClient.exe
ChatServer.exe
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}") = "ChatClient", "ChatClient.csproj", "{587AE24F-CAE7-4E66-B98B-7BED8537B37A}"
EndProject
Global
	GlobalSection(SolutionConfiguration) = preSolution
		ConfigName.0 = Debug
		ConfigName.1 = Release
	EndGlobalSection
	GlobalSection(ProjectDependencies) = postSolution
	EndGlobalSection
	GlobalSection(ProjectConfiguration) = postSolution
		{587AE24F-CAE7-4E66-B98B-7BED8537B37A}.Debug.ActiveCfg = Debug|.NET
		{587AE24F-CAE7-4E66-B98B-7BED8537B37A}.Debug.Build.0 = Debug|.NET
		{587AE24F-CAE7-4E66-B98B-7BED8537B37A}.Release.ActiveCfg = Release|.NET
		{587AE24F-CAE7-4E66-B98B-7BED8537B37A}.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.

You may also be interested in...

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