Please answer
The source code
If (! Memcmp (targetIP, deviceIP, sizeof (deviceIP)))//whether access to the same destination address and the address of the unit?
{
Memset (arpPacket. SenderIP, 0, sizeof (deviceIP));//will send local IP address is set to,0,0,0 {0}, makes the network host sends the machine IP
}
The else
{
Memcpy (arpPacket senderIP, deviceIP, sizeof (deviceIP));//IP is set to {deviceIP}
}
//Send out the packet.
MACWrite ((unsigned char *) & amp; ArpPacket, sizeof (ARP));
CodePudding user response:
No response, 0.0.0.0 is a network number, you can try to tracert - d 0.0.0.0 will find an error in the CMD1 transmission error: code for 1214 the specified network name wrong,