如何通过Lan获取计数机的IP地址与我的PC连接 [英] How Do I Get Ip Address Of Counting Machine Connect With My Pc Through Lan
本文介绍了如何通过Lan获取计数机的IP地址与我的PC连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
尊重支持者,
我正在开发一种不计算机器的软件,我通过局域网将我的机器与我的CPU连接。你能不能支持我,告诉我如何获取我的计数机的IP地址。
Respect supporter,
i m developing a software for not counting machine and i connect my machine with my cpu through a LAN . Can you plz support me and tell me how can get the IP address of my counting machine .
推荐答案
你不能直接获取IP - 因为没有IP你除非你知道设备的主机名......否则无法与它交谈 -
http://www.codeproject.com/Tips/358946/Retrieving-IP-and-MAC-addresses-for-a-LAN\">检索局域网的IP和MAC地址 [ ^ ]它检索LAN上的所有IP地址,您可以将这些地址输入DNS以获取主机名,该主机名应该告诉您哪个设备是哪个。
You can't directly get the IP - because without the IP you can't talk to it to find out what it is - unless you know the host name of the device...
This might help though: Retrieving IP and MAC addresses for a LAN[^] It retrieves all IP addresses on the LAN, and you can feed those into your DNS to get the hostname which should tell you which device is which.
这篇关于如何通过Lan获取计数机的IP地址与我的PC连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文