Programming Linux sockets, Part 1, Using TCP/IP

Creating an echo server and client

From the developerWorks archives

David Mertz

Date archived: March 7, 2017 | First published: October 28, 2003

This introductory-level tutorial shows how to begin programming with sockets. Focusing on C and Python, it guides you through the creation of an echo server and client, which connect over TCP/IP. Fundamental network, layer, and protocol concepts are described, and sample source code abounds.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Linux
ArticleID=133074
ArticleTitle=Programming Linux sockets, Part 1: Using TCP/IP
publish-date=10282003