Autor Beitrag
paddy14
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 122



BeitragVerfasst: Mo 02.01.12 23:47 
Erstmal ein Frohes Neues,

Ich habe eine Server / Client Anwendung mit Tcplistner /Tcp Client und Networkstream.

Ich weiß zwar wie ich meine Lokale Ip abrufe, nur würde ich gerne für mein login die Ip des Clients herausfinden.

Grund: Wenn mehrere Fehlversuche beim Login aufgetreten sind, sollte der Login für diesen Client für gewisse Zeit gesperrt sein.

Hoffe ihr könnt mir da weiter helfen.

Mfg Patrick
Greenberet
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 339
Erhaltene Danke: 20

Win 10
C# (VS 2012), C++ (VS 2012/GCC), PAWN(Notepad++), Java(NetBeans)
BeitragVerfasst: Di 03.01.12 00:52 
Hallo,

der Socket besitzt ein Property RemoteEndPoint indem die IP gespeichert wird. Eventuell musst du das Resultat nach IPEndPoint casten.


lg