Added in API level 24

StandardProtocolFamily

class StandardProtocolFamily : ProtocolFamily
StandardProtocolFamily.INET

Internet Protocol Version 4 (IPv4)

StandardProtocolFamily.INET6

Internet Protocol Version 6 (IPv6)

StandardProtocolFamily.UNIX

Unix domain (Local) interprocess communication.

Defines the standard families of communication protocols.

Summary

Enum values

Internet Protocol Version 4 (IPv4)

Internet Protocol Version 6 (IPv6)

Unix domain (Local) interprocess communication.

Enum values

INET

Added in API level 24
enum val INET : StandardProtocolFamily

Internet Protocol Version 4 (IPv4)

INET6

Added in API level 24
enum val INET6 : StandardProtocolFamily

Internet Protocol Version 6 (IPv6)

UNIX

Added in API level 34
enum val UNIX : StandardProtocolFamily

Unix domain (Local) interprocess communication.