AnsweredAssumed Answered

Check for activity on established connections

Question asked by Peter Mai on Apr 11, 2016

Hello everybody,

 

its simple: I have accepted (accept()) all pending connections given to me by the listen() and followed select() functions.

 

Now my connections (HTTP) are open and I receveid (recv()) some data.

 

Here comes the question:

 

- Now my connections are not active anymore but are kept open by the browser. Is there any other option than calling recv() on this connection to check whether data requests are pending or not?

 

Thanks in advance!

Outcomes