Patent ID: 8705372

Claim:
A communication apparatus comprising: a receiving unit configured to receive a packet; a determination unit configured to determine whether a source of the packet received by said receiving unit is an apparatus lying in the same network as a network in which the communication apparatus lies; a judgment unit configured to, according to a result of the determination by said determination unit, judge whether to respond to the packet received by said receiving unit based on a first judgment condition in a case where it is determined that the source is the apparatus lying in the same network as the network in which the communication apparatus lies, and judge whether to respond to the packet received by said receiving unit based on a second judgment condition in a case where it is determined that the source is not the apparatus lying in the same network as the network in which the communication apparatus lies; and a response unit configured to, according to a result of the judgment by said judgment unit, respond to the packet received by said receiving unit.