My application establishes (connects) to multiple sockets, and I am using SocketReactor to manage recieve the data using "onReadable" event handler.
It is a blocking socket. The "onReadable" handler gets called regardless of weather or not any data is present on the socket to be read.
For a blocking socket, I was assuming the the handler would be called only if data is present.
So the question is : Why does the "onReadable" handler gets called regardless of weather or not any data is present on the socket to be read??





