Fixed FD_SET casing

Im just fixing the bug, not doing enhancements.