$manlookup

socket

The Linux manual documents socket in 2 places. Pick the section you want.