Stay organized with collections
Save and categorize content based on your preferences.
StandardProtocolFamily
class StandardProtocolFamily : ProtocolFamily
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
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# StandardProtocolFamily\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nStandardProtocolFamily\n======================\n\n```\nclass StandardProtocolFamily : ProtocolFamily\n```\n\n|---|---|--------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||\n| ↳ | [kotlin.Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)\\\u003c[java.net.StandardProtocolFamily](#)\\\u003e ||\n| | ↳ | [java.net.StandardProtocolFamily](#) |\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [StandardProtocolFamily.INET](#ENUM_VALUE:INET), [StandardProtocolFamily.INET6](#ENUM_VALUE:INET6), [StandardProtocolFamily.UNIX](#ENUM_VALUE:UNIX) |---------------------------------------------------|-------------------------------------------------| | [StandardProtocolFamily.INET](#ENUM_VALUE:INET) | Internet Protocol Version 4 (IPv4) | | [StandardProtocolFamily.INET6](#ENUM_VALUE:INET6) | Internet Protocol Version 6 (IPv6) | | [StandardProtocolFamily.UNIX](#ENUM_VALUE:UNIX) | Unix domain (Local) interprocess communication. | |\n\nDefines the standard families of communication protocols.\n\nSummary\n-------\n\n| Enum values ||\n|--------------------------------------------------------------------------|---|\n| [INET](#ENUM_VALUE:INET) Internet Protocol Version 4 (IPv4) |\n| [INET6](#ENUM_VALUE:INET6) Internet Protocol Version 6 (IPv6) |\n| [UNIX](#ENUM_VALUE:UNIX) Unix domain (Local) interprocess communication. |\n\nEnum values\n-----------\n\n### INET\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val INET : StandardProtocolFamily\n```\n\nInternet Protocol Version 4 (IPv4) \n\n### INET6\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val INET6 : StandardProtocolFamily\n```\n\nInternet Protocol Version 6 (IPv6) \n\n### UNIX\n\nAdded in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val UNIX : StandardProtocolFamily\n```\n\nUnix domain (Local) interprocess communication."]]