Connect messages

Connect messages always contain a pathname. The open() function that we've been using throughout our discussion is a perfect example of a function that generates a connect message. In this case, the handler for the connect message establishes a context for further I/O messages. (After all, we expect to be performing things like read() after we've done an open()).

An example of a “one-shot” connect message is the message generated as a result of the rename() function call. No further “context” is established—the handler in the resource manager is expected to change the name of the specified file to the new name, and that's it.