advertisement

O'Reilly Tags

We're experimenting with a folksonomy based on tag data provided by del.icio.us. Follow development in this blog post.


Introducing Nonblocking Sockets (12 tags)
Nonblocking sockets, the new I/O API in J2SE 1.4, allow I/O operations on a channel without blocking the processes using it. This will allow for asynchronous high-performance read/write operations that will totally alter the techniques for developing socked-based applications.

Untwisting Python Network Programming (4 tags)
Python is a powerful and usable language for network programming; its standard library includes several modules for multiple Internet protocols. There's also the powerful Twisted framework. How do you get started? When do you use the standard library and when do you go Twisted? Kendrew Lau demonstrates usable applications with both approaches to help you decide.

How Java Web Servers Work (4 tags)
At the heart, web servers are really very simple. If you can set up a socket connection and parse some headers, you're well on the way to writing your own mini web server. Though Apache and Tomcat are already stable, mature, and featureful, you may find yourself curious as to how they work--or interested in something a little smaller and easier to embed. In this article, Budi Kurniawan demonstrates a basic Java web server.

Networking and the BSD Sockets API (2 tags)
Mac OS X is a wonderful platform for learning about networking, since it has such a rich set of APIs to offer -- in particular, the venerable BSD sockets API. In this article, you'll learn about this API, and in doing so, you'll write a tiny pair of C applications that demonstrate how clients and servers can be configured to talk to one another.

How to Write a Cocoa Web Server (2 tags)
Learn how to use NSSocketPort, NSFileHandle, and Cocoa notifications to write a server application without having to create a multi-threaded application. Jürgen Schweizer also shows how to use Core Foundation APIs to deal with the low-level details of the HTTP protocol in this working example of building a Cocoa web server.