The X Clients A client program makes a connection to the X server (via TCP socket, Unix domain socket, shared memory, etc) and has one events queue for all windows it manages. The client may pass various data objects (known as resources) to the server once, and later use handles to refer to them. This is used to optimize access to these resources. The types of resources managed in this way include bitmap, pixmaps (colored bitmaps), color maps, cursors, fonts and the like. If a client crashes or loses connection to the server, the server cleans up all its windows and resources previously allocated on the server by the client. This adds to the server's stability.