
Visual Basic 4 Socket communication (WinSock) Need Help!
Quote:
> If anyone has got some free source code for interfacing to WinSock with Visual
> Basic 4... I would be very happy to get them.
What you need is to go and purchase the book, BUILDING INTERNET APPLICATIONS
WITH
Visual Basic. Although I think the author uses VB3 (or it may be 4, I
can't remember), you should be ok.
Or if you want life even easier, you could see if the CWSOCK.VBX is available
as an OCX for VB4. This is a custom control, which produces appropriate
socket events for your application to get. I use this VBX within my Visual
Basic 3.0 stuff, and it works great... I mean, it is not that difficult to
get a working SMTP Mail Client/Server. I managed mine in a day, from
scratch. Its just testing costs that take the whole in your wallet if you are
on a dial-up account :)
Another good reason for getting the aforementioned book, is that on the
accompanying CD-ROM, apart from a host of example Internet applications (and
the source from the book), you get the RFC's, which have all those lovely
Internet protocols in them. So, with just the VBX/Book you can quickly have
your VB Internet applications running well.
Make sure you have experience with dynamically adding & removing controls,
as this is needed when using listening sockets and accepting them to other
sockets.
Good Luck!
--
Cheers,
Ben -=Look for "Moo-Juice" on the IRC=-
---------------------====### legal notice ###====--------------------------
Microsoft Network is prohibited from redistributing this work in any
form,in whole or in part. License to distribute this post is available to
Microsoft for $499. Posting without permission constitutes an agreement to
these terms.