A portable electronic device (410, 510, 610, 1310) capable of performing Wi-Fi peer-to-peer, P2P, communication, the portable electronic device comprising: a communication module configured to perform the communication; a memory to store one or more internet protocol addresses; and a processor configured to: detect, via the communication, an external electronic device (420, 520, 620, 1320) to be grouped with the portable electronic device as a peer to peer communication group including a group owner device and one or more group client devices; determine that the portable electronic device is assigned as the group owner device and that the external electronic device is assigned as a group client device of the one or more group client devices; select, without using a dynamic host configuration protocol server, an internet protocol address to be used by the external electronic device from the one or more internet protocol addresses; and transmit, via the communication, the internet protocol address to the external electronic device such that the internet protocol address is to be used by the external electronic device to send content to the portable electronic device while the external electronic device is grouped with the portable electronic device as the peer to peer communication group, wherein the internet protocol address is transmitted before a connection is completed for sending content between the external electronic device and the portable electronic device in the peer to peer communication group. a communication module configured to perform the communication; a memory to store one or more internet protocol addresses; and a processor configured to: detect, via the communication, an external electronic device (420, 520, 620, 1320) to be grouped with the portable electronic device as a peer to peer communication group including a group owner device and one or more group client devices; determine that the portable electronic device is assigned as the group owner device and that the external electronic device is assigned as a group client device of the one or more group client devices; select, without using a dynamic host configuration protocol server, an internet protocol address to be used by the external electronic device from the one or more internet protocol addresses; and transmit, via the communication, the internet protocol address to the external electronic device such that the internet protocol address is to be used by the external electronic device to send content to the portable electronic device while the external electronic device is grouped with the portable electronic device as the peer to peer communication group, wherein the internet protocol address is transmitted before a connection is completed for sending content between the external electronic device and the portable electronic device in the peer to peer communication group. detect, via the communication, an external electronic device (420, 520, 620, 1320) to be grouped with the portable electronic device as a peer to peer communication group including a group owner device and one or more group client devices; determine that the portable electronic device is assigned as the group owner device and that the external electronic device is assigned as a group client device of the one or more group client devices; select, without using a dynamic host configuration protocol server, an internet protocol address to be used by the external electronic device from the one or more internet protocol addresses; and transmit, via the communication, the internet protocol address to the external electronic device such that the internet protocol address is to be used by the external electronic device to send content to the portable electronic device while the external electronic device is grouped with the portable electronic device as the peer to peer communication group, wherein the internet protocol address is transmitted before a connection is completed for sending content between the external electronic device and the portable electronic device in the peer to peer communication group.