8.7. UDP Connections

The most common example of a program using UDP is the rwho command in UNIX. The who command, which you may know, tells you who is logged onto the local UNIX machine. The rwho command does the same thing for all of the machines on the local network segment. The rwho command is made possible by the rwho daemon, which runs on every machine that supports rwho (a daemon is like a Windows 2000 service—it starts at boot time and runs continuously regardless of who is logged in. This daemon periodically broadcasts a UDP packet containing the machine's status information onto the network. The packet includes a list of who is currently logged in, information on the machine's load, the uptime for the machine, and so on. The daemon ...

Get Win32 System Services: The Heart of Windows® 98 and Windows® 2000 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.