CHAPTER 6Networking

This chapter explores the possibilities that the .NET Micro Framework provides for programming network-enabled applications that communicate with other devices over an Ethernet network. This enables you to write Internet, local area network (LAN), and wireless local area network (WLAN) communication applications using one set of classes.

First, we will explore how to use sockets to make and accept connections and exchange data over the network. You will learn what clients and servers are and how they come together for data exchange with the Transmission Control Protocol (TCP)/Internet Protocol (IP) or User Datagram Protocol (UDP).

The second half of this chapter covers Web Services for devices. The Device Profile for Web ...

Get Expert .NET Micro Framework now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.