An information processing apparatus comprising: a wireless section for establishing communication between the information processing apparatus and a communication device by receiving at least one request from the communication device, and transmitting to the communication device at least one response to the at least one request, the at least one response being transmitted from the information processing apparatus to the communication device when the information processing apparatus is in a first communication mode, and the at least one response not being transmitted from the information processing apparatus to the communication device when the information processing apparatus is in a second communication mode; and an input section, wherein the first communication mode enables direct communication between the information processing apparatus and the communication device without passing through an access point, and the second communication mode enables non-direct communication through the access point between the information processing apparatus and the communication device, the input section provides a mode selector which enables a user to (i) select the first communication mode so as to set the direct communication between the information processing apparatus and the communication device without passing through the access point or (ii) not select the first communication mode so as to select the second communication mode which provides the non-direct communication through the access point between the information processing apparatus and the communication device, in which the first communication mode can only be set by the user of the information processing apparatus through operation of the mode selector of the input section, when the user has set the information processing apparatus to the first communication mode and the at least one request is not received within a predetermined period of time following setting of the first communication mode, the information processing apparatus is automatically set to the second communication mode, and when communication is established between the information processing apparatus and the communication device, the information processing apparatus does not respond to requests from other communication devices. a wireless section for establishing communication between the information processing apparatus and a communication device by receiving at least one request from the communication device, and transmitting to the communication device at least one response to the at least one request, the at least one response being transmitted from the information processing apparatus to the communication device when the information processing apparatus is in a first communication mode, and the at least one response not being transmitted from the information processing apparatus to the communication device when the information processing apparatus is in a second communication mode; and an input section, wherein the first communication mode enables direct communication between the information processing apparatus and the communication device without passing through an access point, and the second communication mode enables non-direct communication through the access point between the information processing apparatus and the communication device, the input section provides a mode selector which enables a user to (i) select the first communication mode so as to set the direct communication between the information processing apparatus and the communication device without passing through the access point or (ii) not select the first communication mode so as to select the second communication mode which provides the non-direct communication through the access point between the information processing apparatus and the communication device, in which the first communication mode can only be set by the user of the information processing apparatus through operation of the mode selector of the input section, when the user has set the information processing apparatus to the first communication mode and the at least one request is not received within a predetermined period of time following setting of the first communication mode, the information processing apparatus is automatically set to the second communication mode, and when communication is established between the information processing apparatus and the communication device, the information processing apparatus does not respond to requests from other communication devices.