Autor Beitrag
cscp
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 49



BeitragVerfasst: So 11.02.07 15:26 
Hi,
folgendes: Ich hab in meinem Programm eine TServerSocket und eine TClientSocket Komponente. Je nachdem ob ich das Prog als Server oder als Client starte wird die jeweilige Komponente aktiviert. Nun zu meinem Problem: Ich verschicke immer ein Record mit zwei Zahlen... Wie mache ich dass ich jetzt noch einen Chat in das Programm einbauen kann? Muss ich dazu das Record erweitern und immer das ganze Record verschicken? Oder kann ich z.b. ein neues Record erstellen oder z.b. einfach nur ne textmessage verschicken (string)? wie kann ich dass dann aber bei dem onread ereignis unterscheiden?

danke im vorraus

chris
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: So 11.02.07 15:34 
Moin!

Schau mal hier in der FAQ zum Thema records. ;)

cu
Narses

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