refactoring
refactoring
in/out structures protected from oter threads access, network improvements

reduced number of usable UDP ports to 100
messages from self ignored