Autor Beitrag
Alstar
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 827



BeitragVerfasst: Mo 18.09.06 21:31 
Hallo Leute!
Ich verbinde mit einem TIdTCPClient zu einem TIdTCPServer. Jetzt möchte ich allerdings die Client-IP-Adresse weiterverwenden. Dazu dachte ich mir, ich nehme die Daten, die beim onConnect-Ereignis des Servers mittels AContext mitgeliefert werden. Allerdings ist die Property AContext.Connection.Socket.Host leer. Genauso wie [...].Destination. Warum?
Weiß jemand, wie ich die IP-Adresse des connecteten Clients herausbekomme?

Alstar
Alstar Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 827



BeitragVerfasst: Mi 20.09.06 10:40 
*push*

Oder hat irgendjemand ne andere Idee, wie man die Remote-IP-Adresse rausbekommt?
Alstar Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 827



BeitragVerfasst: Di 31.10.06 19:27 
Habs endlich gefunden. Die IP der Gegenseite kann per AContext.Connection.Socket.Binding.PeerIP abgerufen werden.

Alstar