Linux Gazette: Introduction to Socket Programming | Linux Today

Linux Gazette: Introduction to Socket Programming

Written By
Web Webster
Web Webster
Dec 12, 1999

“Most operating systems provide precompiled programs that
communicate across a network. Common examples into the TCP/IP world
are web clients(browsers) and web servers, and the FTP and TELNET
clients and servers. Sometimes when we are using this utilities of
the internet we don’t think about all the process involved. To
better understand this aspects we, in our research group(GTI, Grupo
de Tecnologia em Informática) at Goias Catholic University
(Universidade Católica de Goiás), decide to build,
write our own network programs, mini-chat, using the basic
structure about sockets, an application program interface or API,
that mechanism that make all this communication possible over the
Net.”

We examine the functions for communication through sockets.
A socket is an endpoint used by a process for bi-directional
communication with a socket associated with another process.

Sockets, introduced in Berkeley Unix, are a basic mechanism for IPC
on a computer system, or on different computer systems connected by
local or wide area networks(resource 2). To understand some structs
into this subject is necessary a deeper knowledge about the
operating system and his networking protocols. This subject can be
used as either beginners programmers or as a reference for
experienced programmers.”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.