Autor Beitrag
Unholy
Hält's aus hier
Beiträge: 8



BeitragVerfasst: Sa 01.03.08 16:35 
Hi leute,
wie bekomme ich die einkommende IP adresse raus?

Benutzte Indy 9 mit TCPServer

Sufu nichts gefunden =/

Unholy
Unholy Threadstarter
Hält's aus hier
Beiträge: 8



BeitragVerfasst: Sa 01.03.08 21:39 
dumm dumm duuuuummm keine antwort ^^
kommt schon leutz xP
weiß doch jemand ^^
Xentar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2077
Erhaltene Danke: 2

Win XP
Delphi 5 Ent., Delphi 2007 Prof
BeitragVerfasst: Sa 01.03.08 22:24 
Schau mal in die Beispielprogramme von Indy, da ist das verwendet.
IdTCPDemo

und hör auf zu drängeln, nur weil du nach 5 stunden noch keine Antwort hast.
Unholy Threadstarter
Hält's aus hier
Beiträge: 8



BeitragVerfasst: Sa 01.03.08 23:23 
user profile iconXentar hat folgendes geschrieben:
Schau mal in die Beispielprogramme von Indy, da ist das verwendet.
IdTCPDemo

und hör auf zu drängeln, nur weil du nach 5 stunden noch keine Antwort hast.


sry =/
aber das drängeln hat einen grund ...

kann nicht sehr oft an den PC .. und wollte dieses doofe programm ubedingt fertig machen ...

und haben wochenende ^^

naja danke ich schau es mir mal an

unholy

edit:
ok da bekomme ich computernamen >_< kann ich nocht irgentwie die IP bekommen?
also sprich "192.168.0.1" z.b.
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 02.03.08 12:23 
in welchem Event willst du denn die IP wissen?

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



BeitragVerfasst: Mo 03.03.08 10:12 
Warum benutzt du nicht Indy 10, dann könnt ich es dir sagen?

TIdTCPServer:
AContext.Binding.PeerIP (bspw im OnExecute-Event)

TIdSimpleServer:
Binding.PeerIP

keine Ahnung, ob das in Indy 9 auch schon so war...