Skip to main content

Timeline for TCP Socket Server

Current License: CC BY-SA 3.0

4 events
when toggle format what by license comment
Nov 8, 2011 at 14:15 comment added pstrjds that was my bad, I didn't notice the delete in the close call. I assumed they weren't being removed and missed that little line, and it would could lead to confusion if the ID was reused.
Nov 8, 2011 at 14:11 comment added Peter Taylor @pstrjds, no, because stuff gets deleted from the list. Although this does mean that it's possible for ids to be reused, which is probably a bug.
Nov 8, 2011 at 14:08 comment added pstrjds I was just commenting on the container choice myself. It seemed to me that the way that id is assigned makes it equivalent to the items index in the List + 1, so you should be able to get the item with just connectedClients[id-1].
Nov 8, 2011 at 13:59 history answered Peter Taylor CC BY-SA 3.0