Skip to main content
Aaron Shen's user avatar
Aaron Shen's user avatar
Aaron Shen's user avatar
Aaron Shen
  • Member for 11 years, 7 months
  • Last seen more than 1 year ago
comment
Difference between a socket and a port
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.
awarded