Android NDK: From Elementary to Expert Episode 18
The local socket which is based on NDK:
The local socket protocol addresses consists of only a name. It does not have an IP address or a port number. Local socket names can be created under two different namespaces:
- Abstract namespace is maintained within the local socket communication protocol module. The socket name gets prefixed by a NULL character for binding the socket name.
- Filesystem namespace is maintained through the file system as a special socket file. The socket name gets directly passed to the sockaddr_un structure for binding the socket name to the socket.