def _ioctl ( self , func , args ) : import fcntl return fcntl . ioctl ( self . sockfd . fileno ( ) , func , args )
python ioctl access linux
Call ioctl () with given parameters .
def _ioctl (self, func, args):
        """Call ioctl() with given parameters."""
        import fcntl
        return fcntl.ioctl(self.sockfd.fileno(), func, args)