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.

Level: intermediateTopic: Computing foundations

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.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.