Added in API level 24

StandardProtocolFamily

class StandardProtocolFamily : ProtocolFamily
kotlin.Any
   ↳ kotlin.Enum<java.net.StandardProtocolFamily>
   ↳ java.net.StandardProtocolFamily

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.