Spent pretty much whole day fighting with Synapse network library I wanted to test it in action so i had to make a small "game". In the process alot of bugs got found and eliminated, and finally everything worked smooth. My test had 5 client windows connected to the same server, each with unique 2D spaceship that was showing flying on all screens. Random crashes at exit are no more.

What got me puzzled for long time was simple string comparison. In the authentication i have string1 and string2. Then string2:=string1; Now pass string1 into MaskCrypt() and i discovered that string2 changed aswell Crazy pointer logics there. So in order to copy string to another i have to do it with string2:=copy(string1, 1, 255);