* SR D <software.resea...@gmail.com>I have, but that's something I don't want users having to deal with.
| 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'
Have you considered ...
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 285 |
Nodes: | 16 (2 / 14) |
Uptime: | 27:28:10 |
Calls: | 6,448 |
Files: | 12,050 |
Messages: | 5,254,473 |