 | Level: Intermediate David Mertz (mertz@gnosis.cx), Developer, Gnosis Software
25 Jan 2004 This intermediate-level tutorial extends the basics covered in Part 1 on programming using sockets. Part 2 focuses on the User Datagram Protocol (UDP) and demonstrates how to write UDP sockets applications in C and in Python. Although the code examples in this tutorial are in Python and C, they translate well to other languages.
Prerequisites
You should have a minimal level of knowledge of C, and ideally of Python also. However, if you are not familiar with either programming language, you should be able to make it through with a bit of extra effort. Most of the underlying concepts will apply equally to other programming languages, and calls will be quite similar in most high-level scripting languages like Ruby, Perl, TCL, and so on. And, although this tutorial recaps Part 1, it will be helpful to be familiar with the basic concepts behind IP (Internet Protocol) network protocols and layers as covered in Part 1.
System requirements
You'll need JavaScript enabled in your browser.
Duration
More than two hours
Formats html, pdf
|  | |  |