add server and set packet