register_input_handler
extern int register_input_handler(int fd, ihfunc_t func);
if (register_input_handler(rsrr_socket,rsrr_read) < 0)