Android NDK: From Elementary to Expert Episode 18

xiaoxiao2021-02-28  91

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.
转载请注明原文地址: https://www.6miu.com/read-67725.html

最新回复(0)