Removed bug in sending saved msg. Solution : convert to htonl before sending