Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I try to understand socket in electronics, a server bind a socket to a port number is like put a socket on a wall waiting for some electronical devices to plugin for charging battery. But when accepted, a new socket is returned? Why? A new socket is put one the wall? Please help me make sense out of it by some analogy.