Connecting to a server is a three-step process. An application:
Allocates a connection structure
Sets properties for the connection, if necessary
Logs in to a server