A hollow part or piece for receiving and holding some part or thing. noun
The light bulb needs to be screwed into the socket to work.
He plugged the charger into the wall socket.
An opening or cavity into which an inserted part is designed to fit. noun
The prosthetic limb was attached to the socket on his leg.
The ball-and-socket joint allows for a wide range of motion.
In computing, a socket is an endpoint for sending or receiving data across a computer network. noun
The developer used a socket to establish a connection between the client and the server.
Socket programming is essential for creating networked applications.