routine
Packet integrity check, since socket IPC seems not very reliable on windows