I am writing an Android program using indy Component. Since the Android oreo version, the accept function does not work because of security.
Android 8.0 (API level 26) applies a Secure Computing (SECCOMP) filter to all apps. The list of allowed syscalls is restricted to those exposed through bionic. Although there are several other syscalls provided for backwards compatibility, we recommend against their use.
This can be found at https://android.googlesource.com/platform/bionic.git/+/master/libc/SYSCALLS.TXT.
I want to know how to use the accept4 function. Or I want to know how to use server sockets in Android on oreo version.
indy, 10.2.0.3