Chapter 9. Talking to the Internet

One of the most powerful features built into .NET is the ability to use different Internet protocols. In many cases you can write your own classes to communicate with TCP/UDP-based streams, as we did for our SMTP class. We could have used other Microsoft technologies, such as Collaboration Data Objects (CDO) or the Messaging API (MAPI), but writing our own SMTP wrapper was easier than adding the overhead into our service. Microsoft Visual Basic 2008 using version 3.5 of the .NET Framework has introduced new ways to talk to Web services or Internet protocols such ...

Get Programming Windows® Services with Microsoft® Visual Basic® 2008 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.