Event/Threading Model

From reSIProcate

Jump to: navigation, search

The threading model in the stack requires the application to build an FdSet and call process on the stack. The select call needs a timeout value which the stack can also determine. The application may need to add its own file descriptors and timers as well.

Contents

[edit] buildFdSet

[edit] getTimeTillNextProcess

[edit] select

[edit] process


WARNING!!! Under windows the default FD_SETSIZE is 64 so using TCP/TLS transports is limited
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox