Menu

SocketService select and poll

2000-06-09
2000-06-12
  • Gianni Mariani

    Gianni Mariani - 2000-06-09

    It seems SocketService uses select and hence
    on any linux system I don't get immediate notification
    of connections closed by the client.

    I would like the Disconnect method called whenever
    the client diconnects.

    I made a quick change to SocketService to use
    poll and it works just like what I want ...

    So, is this somthing we could add ?

    Also, using a namespace would be get to avoid
    all those nasty macros.

     
    • David Sugar

      David Sugar - 2000-06-12

      I did not immediately realize poll does better for disconnect detection.  If you would like to submit a patch, I would be happy to look into incorporating it.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.