Image forming apparatus supporting peer-to-peer connection and method of performing image forimg operation thereof

PURPOSE: An image forming device supporting P2P(Peer-To-Peer) connection and a performance method of an image forming task are provided to transmit a response packet including an IP(Internet Protocol) address of a P2P interface to a wireless terminal connected to P2P and to request the image forming task for the IP address, thereby stably performing the image forming task. CONSTITUTION: A WLAN(Wireless Local Area Network) interface unit(810) performs wireless connection with an infrastructure network and P2P connection with a wireless terminal of the outside. An IP address management unit(835) manages IP addresses of a P2P interface and an infrastructure network interface. A control unit(836) receives the IP addresses from the IP address management unit and controls performance of an image forming task requested by the wireless terminal. An image forming task performance unit(1400) performs the image forming task corresponding to the control of the control unit. When a search packet is received through the P2P interface from the wireless terminal, the control unit generates a response packet including the IP address of the P2P interface and transmits the same to the wireless terminal. [Reference numerals] (810) Wireless LAN interface unit; (835) IP address management unit; (836) Control unit; (860) Scanner module; (870) Fax module; (880) Print engine