TsgcSTUNServer › Properties › NotifyEvents
Selects how threaded server events are synchronized with the main VCL/FMX thread.
property NotifyEvents: TwsNotifyEvent read GetNotifyEvents write SetNotifyEvents;
—
Defines the threading model used to dispatch OnSTUN* events:
TThread.Synchronize; the listener thread is blocked until the handler returns, which is safer for UI code but reduces throughput.oSTUN.NotifyEvents := neAsynchronous;
oSTUN.Active := True;