At 01:25 AM 7/11/2002, Ryan Bloom wrote:
Well, you beat me by about five minutes. I just finished compiling
almost the exact same code.
Thanks for doing to work, your implementation is cleaner than mine was.
Speaking of which, are these the results you were looking for?
APR Poll Test
*************
Initializing...................................OK
Creating context...............................OK
Creating the sockets I'll use..........OK
Setting up the pollset I'll use........OK
Starting Tests
Socket 0 Socket 1 Socket 2
No wait No wait No wait
Sending message to socket 2............OK
Socket 0 Socket 1 Socket 2
No wait No wait POLLIN!
Trying to get message from socket 2....OK
Sending message to socket 1............OK
Socket 0 Socket 1 Socket 2
No wait POLLIN! No wait
Sending message to socket 2............OK
Socket 0 Socket 1 Socket 2
No wait POLLIN! POLLIN!
Trying to get message from socket 1....OK
Sending message to socket 0............OK
Socket 0 Socket 1 Socket 2
POLLIN! No wait POLLIN!
Tests completed.
Closing sockets........................OK