Module io.netty5.common
Package io.netty5.util.internal

Class SocketUtils


  • public final class SocketUtils
    extends Object 
    Provides socket operations with privileges enabled. This is necessary for applications that use the SecurityManager to restrict SocketPermission to their application. By asserting that these operations are privileged, the operations can proceed even if some code in the calling chain lacks the appropriate SocketPermission.