Skip to main content

Timeline for C Socket Part-1

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
Jun 6, 2016 at 20:06 history edited Loki Astari CC BY-SA 3.0
added 38 characters in body
Jun 6, 2016 at 19:44 comment added William Morris Yes, I agree about EXIT_FAILURE, just being pedantic. Also I forgot to note that the finished variable is redundant.
Jun 6, 2016 at 19:21 comment added glampert @LokiAstari, those are my words, hehe. But here is a more in-depth discussion: stackoverflow.com/questions/17096990/why-use-bzero-over-memset (the archaic part is my own opinion, but the function is not part of the C or C++ standard).
Jun 6, 2016 at 18:46 comment added Loki Astari The EXIT_FAILURE macro is so ugly. But yes. @glampert also mentioned the bzero() issue in a review of the C++ version. Apparently its archaic and non-standard codereview.stackexchange.com/a/131172/507 Apart from shutdown I will address all these issues. Thanks.
Jun 6, 2016 at 18:45 comment added 200_success The client calling shutdown() should tell the server that there is nothing more to read.
Jun 6, 2016 at 18:38 history answered William Morris CC BY-SA 3.0