push message server in c, client in js