Data communication using wireless service discovery is continuously
provided even if a radio wave condition temporarily deteriorates or
movement of an apparatus occurs. If a temporary deterioration in wireless
radio wave environment is found in a communication apparatus including a
service discovery function, a search is made again at a raised
transmission power. Forcible disconnection processing from a higher-level
layer is prevented when communication at the network layer level is
continuing.