
socket (2) — Linux manual page - man7.org
socket () creates an endpoint for communication and returns a file descriptor that refers to that endpoint. The file descriptor returned by a successful call will be the lowest-numbered file descriptor not …
Socket Programming in C - GeeksforGeeks
Aug 7, 2025 · Socket programming is a way of connecting two nodes on a network to communicate with each other. One socket (node) listens on a particular port at an IP, while the other socket reaches out …
Socket programming in C on Linux - BinaryTides
May 17, 2020 · Learn socket programming in C on the linux platform. Write socket servers and client programs in C.
Linux Howtos: C/C++ -> Sockets Tutorial
There are two widely used socket types, stream sockets, and datagram sockets. Stream sockets treat communications as a continuous stream of characters, while datagram sockets have to read entire …
A Developer’s Guide to Linux Socket Programming
This guide will take you from the basics of sockets to advanced best practices, with hands-on code examples in C (the de facto language for system-level programming). By the end, you’ll be equipped …
Linux Socket: A Comprehensive Guide - linuxvox.com
Nov 14, 2025 · This blog post will provide an in-depth exploration of Linux sockets, including their fundamental concepts, usage methods, common practices, and best practices.
An In-Depth Guide to POSIX Sockets in C – TheLinuxCode
Dec 27, 2023 · In this comprehensive guide, we will dive into POSIX sockets in C, covering everything from socket basics to advanced socket programming techniques. A POSIX socket represents an …
Networking — The Linux Kernel documentation
Common function calls that use sockets are: creation (socket), initialization (bind), connecting (connect), waiting for a connection (listen, accept), closing a socket (close).
While, in general, we like to tell you to read the manpage for the functions, the man pages for sockets programming tend to be comparatively more difficult to actually find and understand
In this Lab you will be introduced to socket programming at a very elementary level. Specifically, we will focus on TCP socket connections which are a fundamental part of socket programming since they …