O'Reilly logo

Pro Silverlight 5 in VB by Matthew MacDonald

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Sockets

So far, you've focused exclusively on retrieving information over HTTP. Even though HTTP was developed for downloading simple HTML documents in the earliest days of the Internet, it also works surprisingly well as a transport mechanism for XML documents and the request and response messages used to interact with web services.

That said, HTTP isn't without a few significant drawbacks. First, HTTP is a high-level standard that's built on Transmission Control Protocol (TCP). It will never be as fast as a raw network connection. Second, HTTP uses a request model that forces the client to ask for data. There's no way for the server to call back to the client if new information arrives. This limitation means that HTTP is a poor choice for everything ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required