diff options
Diffstat (limited to 'Modules/socketmodule.h')
-rw-r--r-- | Modules/socketmodule.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/socketmodule.h b/Modules/socketmodule.h index a59e6f7..4d17f08 100644 --- a/Modules/socketmodule.h +++ b/Modules/socketmodule.h @@ -83,6 +83,9 @@ typedef struct { PyObject *(*errorhandler)(void); /* Error handler; checks errno, returns NULL and sets a Python exception */ + int sock_blocking; /* Flag indicated whether the + socket is in blocking mode */ + double sock_timeout; /* Operation timeout value */ } PySocketSockObject; /* --- C API ----------------------------------------------------*/ |