You can start a dynamic listener by calling the srv_spawn routine using these parameter values:
sppp – the pointer to the thread structure pointer should be null.
stacksize – specify the stack size as CS_UNUSED.
funcp – the entry-point function pointer should be SRV_C_START_LISTENER.
argp – point this parameter to a CS_TRANADDR structure.
priority – specify as CS_UNUSED.
For information about Open Server events, properties, and threads, see the Open Server Server-Library/C Reference Manual.