Add select, getsockopt, setsockopt, ioctl and fcntl to Python wrapper
This commit is contained in:
7
src/bindings/python/select.py
Normal file
7
src/bindings/python/select.py
Normal 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, []
|
||||
Reference in New Issue
Block a user