* SR D <
[email protected]>
| int main(int argc, char* argv[])
| {
| // ...
| Tcl_Main(argc, argv, Tcl_AppInit);
| Tcl_SetMainLoop([]() { myLoop(); });
| // ...
| }
--<snip-snip>--
| Any thoughts about where I'm going wrong here?
man Tcl_Main
...
Tcl_Main does not return.
so I *guess* you need to call Tcl_SetMainLoop() prior to Tcl_Main (never
used that myself).
Have you considered handling all of the UDP communication from script
level via tcludp
http://tcludp.sourceforge.net/? Seems so much easier
to me...
HTH
R'
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)