The code examples for Twisted Network Programming Essentials, 2nd Edition, published by O'Reilly.