April 2009
Intermediate to advanced
472 pages
11h 36m
English
“I’m mad as hell and I’m not going to take this anymore!”
—Howard Beale, Network
In this chapter:
- Sockets.
- Servers.
- Clients.
- Multi-user processing.
- Serial input.
In Chapter 18, we looked at how we can request the raw source of a URL using loadStrings(), the simpleML library, or the XML library. You make the request, sit back, and await the results. You may have noticed that this process does not happen instantaneously. Sometimes the program may pause for seconds (or even minutes) while a web page or XML document loads. This is due to the length of time required for what Processing performs behind the scenes—an HTTP request. HTTP stands for “Hypertext Transfer Protocol,” a ...