Stories We Like: Novels For Language Lovers
c.1300, "spearhead" (originally one shaped like a plowshare), from Anglo-French soket "spearhead, plowshare" (mid-13c.), diminutive of Old French soc "plowshare," from Vulgar Latin *soccus, perhaps from a Gaulish source, from Celtic *sukko- (cf. Welsh swch "plowshare," Middle Irish soc "plowshare"), properly "hog's snout," from PIE *su- "pig" (cf. Latin sus "swine;" see sow (n.) "female pig").
Meaning "hollow part or piece for receiving and holding something" first recorded early 15c.; anatomical sense is from c.1600; domestic electrical sense first recorded 1885. Socket wrench is attested from 1837. The verb is 1530s, from the noun. Related: Socketed; socketing.
socket sock·et (sŏk'ĭt)
The concave part of a joint that receives the articular end of a bone.
A hollow or concavity into which a part, such as an eye fits.
The Berkeley Unix mechansim for creating a virtual connection between processes. Sockets interface Unix's standard I/O with its network communication facilities. They can be of two types, stream (bi-directional) or datagram (fixed length destination-addressed messages). The socket library function socket() creates a communications end-point or socket and returns a file descriptor with which to access that socket. The socket has associated with it a socket address, consisting of a port number and the local host's network address.
Unix manual page: socket(2).