I just flagged this question about the difference between a port and a socket as off-topic. My flag was declined. Can someone explain to me how is this question related to programmers? To me, it's more related to network stuff which don't really belong here in my opinion.
Why would you think network programming is off topic?– yannisOct 29, 2012 at 13:35
Well there is no indication in the OP's post about network programming... The top-voted answer goes about how the OS handles protocols like TCP and UDP. I don't see anything programming-related in this.– marco-fisetOct 29, 2012 at 13:38
3The question is asking for an explanation of two concepts that you'll most certainly meet if you do any kind of network programming. It has problems (lack of research, for example), but topicality isn't one of them...– yannisOct 29, 2012 at 13:40
Thank you for clarification.– marco-fisetOct 29, 2012 at 13:45
A socket is inherently an interface that an OS provides to applications to communicate via an address, so I feel this question is relevant to a programmer. I don't see sockets as being a major concern for system administrators or network engineers but they certainly matter to software developers writing a network interface.