keyhanjk / sockdoc

Sample programs demonstrating how to program in C using the Sockets API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sockdoc

This project documents using the "Sockets" API in C for network programming. It's purpose is to accompany academic textbooks on network programming, giving useful examples.

In particular, the purpose is to document things missing from textbooks. A good example is "SIGPIPE": every program using TCP needs to handle this signal. This complication is largely ignored by textbook, and not included in their examples. This leads to students writing code that occasionally crashes mysteriously.

About

Sample programs demonstrating how to program in C using the Sockets API.

License:MIT License


Languages

Language:C 99.5%Language:Makefile 0.4%Language:Objective-C 0.1%