harmony 鸿蒙mDNS Error Codes

  • 2023-06-24
  • 浏览 (583)

mDNS Error Codes

NOTE

This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.

2100002 Service Connection Failure

Error Message

Operation failed. Cannot connect to service.

Description

This error code is reported if a service connection failure occurs.

Possible Causes

The service is abnormal.

Procedure

Check whether system services are running properly.

2100003 System Internal Error

Error Message

System internal error.

Description

This error code is reported if a system internal error occurs.

Possible Causes

  1. The memory is abnormal.

  2. A null pointer is present.

Procedure

  1. Check whether the memory space is sufficient. If not, clear the memory and try again.

  2. Check whether the system is normal. If not, try again later or restart the device.

2204003 Repeated Registration

Error Message

Callback duplicated.

Description

The callback already exists.

Possible Causes

An mDNS service with the same name and type is repeatedly registered.

Procedure

Check whether the mDNS service to be registered already exists.

2204008 Service Deletion Failure

Error Message

Service instance duplicated.

Description

The service to be removed does not exist.

Possible Causes

The service has been deleted.

Procedure

Check whether the mDNS service to be deleted exists.

2204010 Message Sending Failure

Error Message

Send packet failed.

Description

Messages fail to be sent through an mDNS service.

Possible Causes

The mDNS service does not exist on the LAN.

Procedure

Check whether the target mDNS service exists on the LAN.

2204006 Service Resolution Timeout

Error Message

Request timeout.

Description

mDNS services of the specified type fail to be resolved.

Possible Causes

mDNS services of the specified type do not exist on the LAN.

Procedure

Check whether mDNS services of the specified type exist on the LAN.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Error Codes

harmony 鸿蒙Event Error Codes

harmony 鸿蒙DeviceUsageStatistics Error Codes

harmony 鸿蒙DistributedNotificationService Error Codes

harmony 鸿蒙Distributed Scheduler Error Codes

harmony 鸿蒙Ability Error Codes

harmony 鸿蒙Access Control Error Codes

harmony 鸿蒙Accessibility Error Codes

harmony 鸿蒙Account Management Error Codes

harmony 鸿蒙Animator Error Codes

0  赞