# StandardProtocolFamily

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# StandardProtocolFamily

```
class StandardProtocolFamily : ProtocolFamily
```

|---|---|--------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                        |||
| ↳ | [kotlin.Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)\<[java.net.StandardProtocolFamily](https://developer.android.com/reference/kotlin/java/net/StandardProtocolFamily#)\> ||
|   | ↳ | [java.net.StandardProtocolFamily](https://developer.android.com/reference/kotlin/java/net/StandardProtocolFamily#) |

|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known Direct Subclasses [StandardProtocolFamily.INET](https://developer.android.com/reference/kotlin/java/net/StandardProtocolFamily#ENUM_VALUE:INET),[StandardProtocolFamily.INET6](https://developer.android.com/reference/kotlin/java/net/StandardProtocolFamily#ENUM_VALUE:INET6),[StandardProtocolFamily.UNIX](https://developer.android.com/reference/kotlin/java/net/StandardProtocolFamily#ENUM_VALUE:UNIX) |---------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------| | [StandardProtocolFamily.INET](https://developer.android.com/reference/kotlin/java/net/StandardProtocolFamily#ENUM_VALUE:INET)   | Internet Protocol Version 4 (IPv4)              | | [StandardProtocolFamily.INET6](https://developer.android.com/reference/kotlin/java/net/StandardProtocolFamily#ENUM_VALUE:INET6) | Internet Protocol Version 6 (IPv6)              | | [StandardProtocolFamily.UNIX](https://developer.android.com/reference/kotlin/java/net/StandardProtocolFamily#ENUM_VALUE:UNIX)   | Unix domain (Local) interprocess communication. | |

Defines the standard families of communication protocols.

## Summary

|                                                                        Enum values                                                                        ||
|--------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [INET](https://developer.android.com/reference/kotlin/java/net/StandardProtocolFamily#ENUM_VALUE:INET) Internet Protocol Version 4 (IPv4)              |
| [INET6](https://developer.android.com/reference/kotlin/java/net/StandardProtocolFamily#ENUM_VALUE:INET6) Internet Protocol Version 6 (IPv6)            |
| [UNIX](https://developer.android.com/reference/kotlin/java/net/StandardProtocolFamily#ENUM_VALUE:UNIX) Unix domain (Local) interprocess communication. |

## Enum values

### INET

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
enum val INET : StandardProtocolFamily
```

Internet Protocol Version 4 (IPv4)  

### INET6

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
enum val INET6 : StandardProtocolFamily
```

Internet Protocol Version 6 (IPv6)  

### UNIX

Added in[API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
enum val UNIX : StandardProtocolFamily
```

Unix domain (Local) interprocess communication.