Note that because the socket server uses IO Completion Ports it will only work on Windows NT/2000/XP. Windows 9x is not supported.
The following source was built using Visual Studio 6.0 SP5 and Visual Studio .Net. You need to have a version of the Microsoft Platform SDK installed
All of the zip files mentioned can be found in the single zip file attached to this article.
- COMSocketServer.dll - The socket server COM object
- COMSocketServer2.zip - The source code to the above COM object
- COMSocketServerClient.zip
COMSocketServerClient.zip - a VB echo server
- 11th June 2002 - Initial revision.
- 18th June 2002 - Removed call to ReuseAddress() during the creation of the listening socket as it not required - Thanks to Alun Jones for pointing this out to me.
Comments