The document discusses three types of local sockets in Android native code: abstract, reserved, and filesystem. It provides code examples of creating server and client sockets for each type. Abstract sockets use names in the abstract namespace like "android:debuggerd". Reserved sockets use names in the /dev/socket directory like "gps". Filesystem sockets specify a normal filesystem path as the name. The code shows creating, connecting, reading and writing data to sockets of each type.