GNet sample code?
BlitzMax Forums/BlitzMax Programming/GNet sample code?
| ||
Does any GNet sample code exist? The docs are terse and confusing, to say the least. |
| ||
In the samples/mak folder in the BlitzMax directory, there are two examples. Also here http://www.blitzbasic.com/Community/posts.php?topic=51171. |
| ||
Ah, thanks. Although why he chose to call that directory "mak" instead of "gnet," I could never guess. |
| ||
all the files in the mak folder were by mak (aka Mark) |
| ||
When I ran this demo, it looked like there might have been a vicious memory leak. Maybe its too outdated? |
| ||
BM is GC driven so it can theoretically not memory leak at all. the GC will always raise up to a given amount before recreation and destruction of objects get in balance. |
| ||
Nope. It is because, for some reason, the Gnetdemo contains GCSetMode 3. Comment that out and it will do GC. (GCSetMode 3 is not documented either). |