Function Connection.poll

Useful only for non-blocking operations.

int poll();