Call Chain Limitations With Doevents
Procedures which contain doevents statements, as well as all procedures which lead to them (directly or through other procedures) cannot be shared between call chains.
Supposing that the on_sock_event call chain has a doevents statement in the wroom() procedure.
Another call chain, such as the chain for the ON_SYS_INIT event cannot call on_sock_event() or wroom(). It can, however, call f oo().