![]() |
VOOZH | about |
Sockets are a way to enable inter-process communication between programs running on a server, or between programs running on separate servers. Communication between servers relies on network sockets, which use the Internet Protocol (IP) to encapsulate and handle sending and receiving data.
Network sockets on both clients and servers are referred to by their socket address. An address is a unique combination of a transport protocol like the Transmission Control Protocol (TCP) or User Datagram Protocol (UDP), an IP address, and a port number.
In this tutorial you will learn about the following different types of sockets that are used for inter-process communication:
In each section of this tutorial you will also learn how to enumerate the respective socket types on a Linux system. Youβll examine each type of socket using a variety of command line tools.
Thanks for learning with the DigitalOcean Community. Check out our offerings for compute, storage, networking, and managed databases.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
High quality tutorial as always +1
This comment has been deleted
This comment has been deleted
This comment has been deleted
Good tutorial. Thank you
This comment has been deleted
This comment has been deleted
This comment has been deleted
I like this tutorial, but I simplest example βhow to send data to socket using Linux toolsβ and βhow to read data in socket using Linux toolsβ would be great for complete package of this tutorial
nicely written. Great tutorial. I love the hands on approach!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.