resolved bug in select.select. Server and Client in class encapsulated.