Server with UDP and TCP protocol