| |
|
|
Hubert Binnewies | Hello together..
I can wonderful over the WSOCK32 through the function gethostbyname The IP one Rechners the network experienced if I which Hostname know.
knows of/ one whom others lane? How undergo I the Hostnamen if I only The IP know??
i'm for each hint grateful. |
|
|
| WinXP Prof, XProfan 9.1 Newbie
Ein kluger Kopf sagte mal: "Nach dem derzeitigen Stand der Technik ist es unmöglich Programme zu schreiben, die fehlerfrei laufen!" | 04/10/06 ▲ |
|
|
|
|
| the would then a DNS-questioning, one einheitliches Procedere to is me not famous - be because - The inquire finds on the localhost instead of wonach one then only The eignene Configuration parsen should.
an IP can Yes as much as you want Hostnamen carry. |
|
|
| |
|
|
|
Hubert Binnewies | sorry if I me not very enough framed have....
I meant: If I The IP a eingeschalteten Rechners in the local networking know, have I then a Possibility whom Hostnamen this Rechners To inquire?
the need I circa a computer at next Programmlauf sure to address there itself over the DHCP Yes always The IP the anzusprechenden Rechners Change can, but his Hostname not, and leg first Programmdurchlauf could it his the my Program only The temporary IP but not the Hostname famous is.
How place I the on? |
|
|
| WinXP Prof, XProfan 9.1 Newbie
Ein kluger Kopf sagte mal: "Nach dem derzeitigen Stand der Technik ist es unmöglich Programme zu schreiben, die fehlerfrei laufen!" | 04/10/06 ▲ |
|
|
|
|
| time independent of it that I naturally static IPs recommend (what The problem gänzlich from the world create would), can You still with cmd -> net view a Overview the Servernamen List let. One Ping on the Servernamen gives too which IP back. otherwise Gibts well only Pseudofunktionen, but I be indeed not omniscient.
|
|
|
| |
|
|
|
Clemens Meier | Hi,
look time here: [...]
there should You find, what You seek. |
|
|
| |
|
|
|
Torsten Rümker | [quote:8ex788005e=iF]time independent of it that I naturally static IPs recommend (what The problem gänzlich from the world create would), can You still with cmd -> net view a Overview the Servernamen List let. One Ping on the Servernamen gives too which IP back. otherwise Gibts well only Pseudofunktionen, but I be indeed not omniscient. [/quote:8ex788005e] the static IPs in vielerlei hinsicht praktischer are is Yes well clear, but one can Yes not of it go out, the whoso one Program using therefore everything on static IPs umstellt or?
the are two good ideas (circa me here time einzuklinken), but How I get The expenses of net view or ping in my Program? I could of course whom detour over a temporary File weg, but would not too possible The Bildschirmausgabe in a Memory-Variable umzuleiten?
MfG Torsten
Nachtrag: i'm straight noticed, that if I The command : Shell Ping hostname > ping.tmp or @WinExec(Ping hostname > ping.tmp use The File ping.tmp not created becomes, can someone explain I wrong make? If I me CMD aufrufe and the command very so eingebe functions it correct, means must I well what when calling wrong make. |
|
|
| Ich lerne, ob ich will oder nicht! Betriebssystem: - Ubuntu 15.x - Windows (diverse) XProfan Version: X2 | 04/11/06 ▲ |
|
|
|
|
| Nutze cmd /c you >nfo.txt |
|
|
| |
|
|
|
Torsten Rümker | thanks you |
|
|
| Ich lerne, ob ich will oder nicht! Betriebssystem: - Ubuntu 15.x - Windows (diverse) XProfan Version: X2 | 04/11/06 ▲ |
|
|
|