Autor Beitrag
Kri
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 118



BeitragVerfasst: Sa 29.03.08 01:08 
Hallo zusammen,

bei der Entwicklung eines Chats stellt sich mir folgende Frage:

Wenn ich mein Server eine Nachricht an alle zurücksenden soll geht das ja so:

ausblenden Delphi-Quelltext
1:
2:
  for i := 0 to ServerSocket1.Socket.ActiveConnections-1 do
    ServerSocket1.Socket.Connections[i].SendText(MyMessage);


Aber wie kann ich MyMessage an eine bestimmte RemoteAdress senden?

Grüße
Kri
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Sa 29.03.08 19:40 
Moin!

user profile iconKri hat folgendes geschrieben:
Aber wie kann ich MyMessage an eine bestimmte RemoteAdress senden?
Dazu haben wir was in der FAQ. :les: ;)

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.