poll-syscall Questions

4

Solved

I'm wondering what should be done when poll set these bits? Close socket, ignore it or what?
Landy asked 16/7, 2014 at 22:6

1

Solved

This polling business seems like it was written by a madman, and I am unsure how to use it to allow for multiple clients to connect to a server and then send their input to all other clients. So ...
Shedd asked 15/12, 2014 at 22:52

3

Solved

The manpages say for poll(2): POLLHUP - Hang up (output only) POLLNVAL - Invalid request: fd not open (output only) What exactly is the difference? Writing a simple program shows that POLLN...
Sponger asked 5/8, 2014 at 19:53

3

Solved

I wrote a small test program to figure out how to talk to poll. I created three files testa,testb,testc and wrote the string hello\n to the first. So, here is my invocation of poll: poll(polls.dat...
Looker asked 4/9, 2013 at 14:35
1

© 2022 - 2024 — McMap. All rights reserved.