Merge pull request #22 from Holiverh/master

Message sending and receiving
Change MAGIC_NUMBER to string
Avoid comparing integers of diff signs
Remove useless #define