jdk.net (Java SE 26 & JDK 26)
Description: declaration: module: jdk.net, package: jdk.net
Keywords: jdk.net package

# Package jdk.net

package jdk.net
Platform specific socket options for the `java.net` and `java.nio.channels` socket classes.

Since:
  1.8

- Class
  Description
  ExtendedSocketOptions
  Defines extended socket options, beyond those defined in `StandardSocketOptions`.
  NetworkPermission
  Deprecated, for removal: This API element is subject to removal in a future version.
  This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.
  Sockets
  Deprecated.
  Java SE 9 added standard methods to set/get socket options, and retrieve the per-Socket supported options effectively rendering this API redundant.
  UnixDomainPrincipal
  Represents the credentials of a peer connected to a Unix domain socket.