English
Forum

Question WSOCK32

 

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.
 
04/10/06  
 




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.

 
04/10/06  
 




Clemens
Meier
Hi,

look time here:
[...] 

there should You find, what You seek.
 
XProfan 9.1; XP SP2; FF; Editpad
04/10/06  
 




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
 
04/11/06  
 




Torsten
Rümker
thanks you
 
Ich lerne, ob ich will oder nicht!
Betriebssystem:
- Ubuntu 15.x
- Windows (diverse)
XProfan Version: X2
04/11/06  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.426 Views

Untitledvor 0 min.

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie