An open API service indexing awesome lists of open source software.

https://github.com/michaelfromyeg/cpsc317-tutorial10

C server programming tutorial; up-to-date for the 2022W1 edition of the course.
https://github.com/michaelfromyeg/cpsc317-tutorial10

cpsc317 ftp ftp-server internet networking ubc

Last synced: over 1 year ago
JSON representation

C server programming tutorial; up-to-date for the 2022W1 edition of the course.

Awesome Lists containing this project

README

          

# CPSC 317 Tutorial 10: C Server Programming

A tutorial on C Server programming for CPSC 317. Intended to support programming assignment 3, which consists of implementing either an SMTP mail client or FTP server.

## About

The goals of this tutorial are to

1. Gain familiarity with C
2. Gain familiarity with writing server-side programs in C
3. Understand what the FTP protocol is and why it is used

## Exercises

- Complete `strtok` exercise under corresponding directory
- Complete the `enum` exercise, too

## Resources

- [Beej's Guide to Network Programming](https://beej.us/guide/bgnet)
- [A guide to GNU `make`](https://michaelfromyeg.github.io/makefiles)
- [ftp-server-tutorial.pdf](docs/ftp-server-tutorial.pdf)
- [FTP (File Transfer Protocol)](https://youtube.com/watch?v=tOj8MSEIbfA)
- [strtok()](https://tutorialspoint.com/c_standard_library/c_function_strtok.htm)
- [POSIX thread (pthread) libraries](https://cs.cmu.edu/afs/cs/academic/class/15492-f07/www/pthreads.html)