network: Check for struct pollfd