I am getting more FD_READ notifications than I should.
When my server sends me a message (approx 60k in one SEND), I receive an FD_READ and go into my RECV loop until I've received all the data using an 8k buffer. The message is received correctly.
However, I also sometimes get additional (1 to 3) FD_READ notifications with EOF true (no data) immediately after I've read my message. Where are these coming from? Am I doing something to cause them?
Thanks
Garry
When my server sends me a message (approx 60k in one SEND), I receive an FD_READ and go into my RECV loop until I've received all the data using an 8k buffer. The message is received correctly.
However, I also sometimes get additional (1 to 3) FD_READ notifications with EOF true (no data) immediately after I've read my message. Where are these coming from? Am I doing something to cause them?
Thanks
Garry
Comment