Autor Beitrag
Gottdrak99
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 20


D7 & D6 Ent
BeitragVerfasst: Sa 04.10.03 02:39 
:?: also ich will in mein prog was einbauen, und zwar ich hab von nem anderen seine ip adresse und ich will diese ip prüfen ob sie noch aktuell ist, bzw oder die noch vorhanden ist.

:!: das soll schnell passieren, da ich die funkt. unterm timer setze (5 sek takt).
derDoc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 623

Win Vista Prof
D2007 Prof
BeitragVerfasst: Sa 04.10.03 08:10 
Wie wäre es, einen Ping an die IP zu senden. Damit weißt du immerhin, dass es sie noch gibt.

_________________
MfG derDoc
There are only 10 types of people: those who understand binary and those who don't.
BungeeBug
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 901



BeitragVerfasst: Sa 04.10.03 11:08 
Hi,

die Möglichkeit ist aber nicht ganz Perfekt, da man an den meisten Routern z.B.: einstellen kann das sie auf Pings nicht reagieren sollen und somit es den anscheinmacht als ob die IP nicht belegt ist.
UC-Chewie
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 531

WinXP
D5 Ent
BeitragVerfasst: Sa 04.10.03 11:34 
Bei einem Ping schickst du ICMP-Pakete. Diese werden in der Tat desöfteren von Firewalls abgeblockt.
Ist das der Fall, hast du noch die Mögllichkeit, auf TCP-Verbindungen oder UDP-Datagramme auszuweichen. Allerdings braucht der Rechner, den du suchst, dann einen Server (also einen Socket im Listen-Modus) auf einem Port, den du kennst.

_________________
Egal wie dumm man selbst ist, es gibt immer andere, die noch dümmer sind
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Sa 04.10.03 11:48 
also pingen ist immernoch die beste und populärste variante. wenn du das nciht willst dann könntest du probieren die IP zu scannen. das st aber nciht so toll. ersten dauert das ne zeitlang und 2. kann das auch von der firewall geblockt werden.

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Gottdrak99 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 20


D7 & D6 Ent
BeitragVerfasst: Sa 04.10.03 14:25 
hmmm, wie machens die programme wie MSN, Icq und Odigo
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: So 05.10.03 11:32 
icq überträgt deine IP zum ICQ server

_________________
In the beginning was the word.
And the word was content-type: text/plain.