Rated
Read 78,548 times
Contents
Downloads
Related Categories
A TCP/IP socket server object for Visual Basic - Wrap up
Wrap up
Download
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.zipCOMSocketServerClient.zip - a VB echo server
Revision history
- 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.
Len has been programming for over 20 years, having first started with a Sinclair ZX-80. Now he runs his own consulting company, JetByte Limited.
JetByte provides contract programming and consultancy services. We can provide experience in COM, Corba, C++, Windows NT and UNIX. Our speciality is the design and implementation of systems but we are happy to work with you throughout the entire project life-cycle. We are happy to quote for fixed price work, or, if required, can work for an hourly rate.
We are based in London, England, but, thanks to the Internet, we can work 'virtually' anywhere...
Comments
-
Posted by rossduncan on 11 May 2006
I ran the server on one machine and the client on another and managed to get a connection and send some data. However after sending a few test messages "1234567890" I try and receive as string at the ...
Posted by Len Holgate on 18 Sep 2005
There was a stupid precedence error in the original code, this may be related to it?
LPOLESTR pOle = ((_lpa = (char*)m_pData) == NULL) ? NULL : ATLA2WHELPER((LPWSTR) alloca(m_length + 1*2), _lpa, m...
Posted by Len Holgate on 18 Sep 2005
I'm afraid I don't have a free version of this code that includes client support.
Posted by Len Holgate on 18 Sep 2005
Yes. -
Posted by oromano on 19 May 2004
may I use this library for a client application? do you have another dll to do this (with vb6)? great job
|