server, io multiplexing, single process, select, check FIN, data, RST from client