Day 15

Quiz

1: What is the key benefit of using the WinSock control?
A1: The WinSock control gives you a great deal of flexibility to implement and use any protocol that uses TCP/IP or UDP/IP as its network protocol.
2: What is the key disadvantage of using the WinSock control?
A2: The major disadvantage of using the WinSock control is that you need to implement the protocol entirely when you are communicating. This can be very time-consuming. Of course, if you are communicating with your own server, then you can keep the protocol simple. However, when dealing with a well-defined protocol such as HTTP, extra processing is required to handle the addition and extraction of the protocol information.
3: How do the WinSock and WinInet controls ...

Get Sams Teach Yourself Microsoft® Windows® DNA Programming in 21 Days 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.