1 / 4

CSCE 510 - Systems Programming

CSCE 510 - Systems Programming. Lecture 22 POSIX Threads. Overview. Last Time Webserver Assignment TLPI/sockets/ readline TLPI/sockets/ inet.c TLPI/sockets/ gethostbyname d eprecated  getaddrinfo Email ?? method missing. Today Webserver Assignment handout

wallis
Download Presentation

CSCE 510 - Systems Programming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CSCE 510 - Systems Programming Lecture 22 POSIX Threads

  2. Overview Last Time • Webserver Assignment • TLPI/sockets/readline • TLPI/sockets/inet.c • TLPI/sockets/gethostbyname • deprecated  getaddrinfo • Email ?? method missing Today • Webserver Assignment handout • POSIX threads from last times slides • Autotools • Top Editors for Linux

  3. webserver email In this programming assignment you will develop a simple webserver. It should: \begin{enumerate} \item Be run as a daemon - up all the time. \item Is it killable with SIGINT ``kill -2 pid?'' \item Create a TCP socket on some port > 5000. \item Accept connection. \item Fork and read HHTP requests \item generate the static page responses \item Handle cgi requests for dynamic web content \end{enumerate}

More Related