Skip to main content
5 events
when toggle format what by license comment
Dec 19, 2013 at 7:49 history edited Dave Jarvis CC BY-SA 3.0
added 1009 characters in body
Dec 19, 2013 at 7:30 history edited Dave Jarvis CC BY-SA 3.0
added 470 characters in body
Dec 19, 2013 at 7:28 comment added Kolyunya Thank you very much for your response. I agree with you in almost everything except the socket.bind(argv[1],argv[2]); idea. Socket could be bound to the Unix address which should be constructed from a single string. That is why the bind function expects a reference to an abstract address object. This also implements the dependency inversion principle. Bind is dependent on an abstract object. Regarding the don't re-invent the wheel this is an educational project which allowed me to increase my knowledge in C++ and network programming, so I believe I did not waste my time pointlessly.
Dec 19, 2013 at 4:18 history edited Dave Jarvis CC BY-SA 3.0
added 15 characters in body
Dec 19, 2013 at 4:08 history answered Dave Jarvis CC BY-SA 3.0