Autor Beitrag
Grolle
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 95

Win XP, Win 7
Delphi 2010 Pro
BeitragVerfasst: Mi 18.05.05 12:45 
Hi!
Wie funktioniert die Verbindungsherstellung bei z. B. Icq?
Anhand eines Usernamens kann ich sehen, ob eine Person online
ist (auch wenn dessen IP wechselt). Gibt es dazu irgendwie
ein Tutorial, oder kann mir jemand kurz erklären, wie das von
statten geht?
Viele Grüße: Grolle
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Mi 18.05.05 12:52 
Du meinst, wenn du z.B. bei ICQ im Internet nach Usern suchst, dass du dann bei einigen angezeigt bekommst, dass sie online sind?
SQLException
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 89

WinXP + D5 Enterprise
Win2k + D6 Personal
BeitragVerfasst: Mi 18.05.05 12:53 
nein ich kenne keines, aber trotzdem denke ich nicht, das "wenn die ip wechselt" man online bleibt.
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Mi 18.05.05 13:01 
user profile iconSQLException hat folgendes geschrieben:
nein ich kenne keines, aber trotzdem denke ich nicht, das "wenn die ip wechselt" man online bleibt.

Das ist klar. Das geht halt nur so schnell, dass man eben nicht in dem Augenblick nachguckt, wenn der Status kurz auf OFFLINE steht. ;)
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: Mi 18.05.05 13:43 
Titel: Re: Grundsätzliche Frage zur Icq/VoIp - Verbindungsherstellu
user profile iconGrolle hat folgendes geschrieben:
Wie funktioniert die Verbindungsherstellung bei z. B. Icq?
Ein ICQ-Client meldet sich vorher bei login.icq.com und kann von dort zum Beispiel auch die Buddylist beziehen. Offline-Messages werden ebenfalls auf dem zentralen Server gespeichert.
Wie die eigentliche Verbindung zwischen zwei Benutzern funktioniert, weiß ich aber nicht. Eine naheliegende Möglichkeit wäre es, die IP des anderes Peers weiterzugeben und dann eine Peer-to-Peer-Verbindung aufzubauen. Das würde aber vorraussetzen, daß derjenige, der die Verbindung annehmen soll, eine Firewall hat, die den ICQ-Port durchlässt, was nicht der Fall ist. Außerdem nimmt sich ICQ Inc. das Recht heraus, an allen Konversationen das Urheberrecht an sich zu nehmen und für eigene Zwecke zu verwenden, das würde bei einer P2P-Verbindung ebenfalls nicht funktionieren. Die andere Möglichkeit wäre es, die Gespräche komplett über einen Server zu leiten.
Das ICQ-Protokoll heißt übrigens "Oascar" und ist identisch mit dem AIM-Protokoll. Ich habe vor einiger Zeit mal eine einigermaßen brauchbare Dokumentation gefunden, vielleicht findest du sie mit Google auch. Ansonsten wäre da noch der Quellcode der Open-Source-Clients, zum Beispiel Gaim.

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert
Grolle Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 95

Win XP, Win 7
Delphi 2010 Pro
BeitragVerfasst: Mi 18.05.05 15:06 
Danke schonmal für eure Antworten :D