O'Reilly logo
  • You Wang thinks this is interesting:

A socket is basically an “information channel” with a program on both ends.

From

Cover of Beginning Python: From Novice to Professional, Second Edition

Note

socket = (program1, IP1:port1, program2, IP2:port2)