mod socket & select. no test.