a tcp server based nio event