You can read example code use by browsing the source codes of the applications listed in the presentation such as netcat and httpd.