Add select, getsockopt, setsockopt, ioctl and fcntl to Python wrapper

This commit is contained in:
Joseph Henry
2021-05-28 16:15:38 -07:00
parent 96684860fe
commit cd3265f8ae
6 changed files with 535 additions and 87 deletions

View File

@@ -0,0 +1,7 @@
import libzt
class select:
def select(self, r, w, x, timeout=None):
r, w, x = libzt.zts_py_select(self, r, w, x, timeout)
return r, w + x, []