Libc.FD_ISSET's parameter should be const, not var:
function FD_ISSET(fd: TFileDescriptor; const fdset: TFDSet): Boolean;
Log in to post a comment.