How to write a simple TCP server using BSD sockets

This video tutorial explains the basics of creating a TCP server using the BSD sockets API.

The code is very simple and the comments are very verbose.

This was recorded during a class, in the context of the BEST summer course 2010 in Chișinău, Moldova.

You will learn:
- how to use netstat
- how to talk to a server using telnet
- how to write a minimalistic server
- how to send and receive data using a TCP socket
- some things about Python

Note: some of the students' questions cannot be heard, but you can guess what the questions were, by analyzing the answer to them :-)