AI engineering glossary · Computing foundations
What is socket?
Socket: One endpoint of a two-way network connection, identified by an IP address and port. Programs create sockets to send and receive data, and higher-level tools like web servers are built on top of them.
Socket: an example
A Python program can open a socket to 93.184.216.34 on port 443 to talk to a server.
Related terms
More Computing foundations terms
Where you learn it
Socket is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.