errorcode-net-mdns.md 2.0 KB
Newer Older
S
shawn_he 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
# mDNS Error Codes

> **NOTE**
>
> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](errorcode-universal.md).

## 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.