IP-, IP- ( Ethernet-) ( , ). .
, IP-. , .
Assuming you have a printer name, you need to request a name service for your domain. This service maps network addresses to "symbolic" names.
Using winsock2 api, I find what gethostbynameyou need. This will provide information about the host of your printer by its name.
xtofl source
share