- in = new eSocketNotifier(eApp, fd[0], POLLIN|POLLPRI|POLLHUP );
- out = new eSocketNotifier(eApp, fd[1], POLLOUT, false);
- err = new eSocketNotifier(eApp, fd[2], POLLIN|POLLPRI );
+ in = new eSocketNotifier(eApp, fd[0], eSocketNotifier::Read|eSocketNotifier::Priority|eSocketNotifier::Hungup );
+ out = new eSocketNotifier(eApp, fd[1], eSocketNotifier::Write, false);
+ err = new eSocketNotifier(eApp, fd[2], eSocketNotifier::Read|eSocketNotifier::Priority );