c - Linux : receive from socket with timeout? -


I have a graphics application, where the data comes from the server when the screen is updated. (Incremental update) I see that when there is no data from a server, then the socket is shutting down some time later. Is there any way to handle this scenario?

You may find "TCP Kolliv" more information in this web page:

Comments

Popular posts from this blog

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -

jasper reports - How to center align barcode using jasperreports and barcode4j -

django - CommandError: You must set settings.ALLOWED_HOSTS if DEBUG is False -