Constructs a PollItem for monitoring a $(ZMQ) socket.
Constructs a PollItem for monitoring a standard socket referenced by a $(STDREF socket,Socket).
Constructs a PollItem for monitoring a standard socket referenced by a native file descriptor.
Requested _events.
Returned events.
A structure that specifies a socket to be monitored by $(FREF poll) as well as the events to poll for, and, when $(FREF poll) returns, the events that occurred.
Warning: PollItem objects do not store $(STDREF socket,Socket) references, only the corresponding native file descriptors. This means that the references have to be stored elsewhere, or the objects may be garbage collected, invalidating the sockets before or while $(FREF poll) executes.