Class AFSYSTEMSocketImplExtensions

java.lang.Object
org.newsclub.net.unix.AFSYSTEMSocketImplExtensions
All Implemented Interfaces:
AFSocketImplExtensions<AFSYSTEMSocketAddress>

public final class AFSYSTEMSocketImplExtensions extends Object implements AFSocketImplExtensions<AFSYSTEMSocketAddress>
AF_SYSTEM-specific code that resides in the native library. To be used by AFSystemSocket and AFSystemDatagramSocket only.
Author:
Christian Kohlschütter
  • Method Details

    • getKernelControlId

      public int getKernelControlId(FileDescriptor fd, String name) throws IOException
      Retrieves the kernel control ID given a kernel control name.
      Parameters:
      fd - The socket file descriptor.
      name - The control name
      Returns:
      The control Id.
      Throws:
      IOException - on error.