Autor Beitrag
F.Art
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 434



BeitragVerfasst: Mo 31.05.04 20:47 
Ich möchte ein Chatprogramm erstellen mit der Möglichkeit Datentransfer.
Ist die idTCPServer-Client das richtige? und ein kleines Beispiel wie ich eine Nachricht übermitteln kann. Ich muß mich langsam rein arbeiten.
maxk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1696
Erhaltene Danke: 1

Win XP, Debian Lenny
Delphi 6 Personal
BeitragVerfasst: Di 01.06.04 18:51 
Auf jeden Fall. TidTCPClient und TidTCPServer wirst du brauchen. Wenn du zuvor noch nie ein Netzwerkchat geschrieben hast, so sind diese Komponenten fast unumgänglich. Wie man Text versendet, steht in den Demos der InDy-Kompis drin. Eine Datei versendest du mit TcpServer.WriteStream bzw. TcpClient.ReadStream.

maxk

PS: Ich hätte Lust mitzuproggen. Bei Interesse einfach "Bescheid" sagen.

_________________
Ein Computer wird das tun, was Du programmierst - nicht das, was Du willst.
Philer
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 79

Win XP Home
D7 Enterprise
BeitragVerfasst: Di 01.06.04 19:42 
Ich würde dir am liebsten TSimpleTCP Komponenten anbieten. Die sind wirklich am einfachsten für chats.
Die gibt's bei

www.utilmind.com

hier der direkte download link

www.utilmind.com/delphi/simpletcp.zip

und die demo exe

www.utilmind.com/del...mo/SimpleTCPDemo.exe

// Edit achso der dateitranfser habe ich damit nicht funktionirend hingekriegt ist aber für den einstieg für ein chat program am einfahcsten

_________________
- Delphi n00b -
-Philer teh thriller-
F.Art Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 434



BeitragVerfasst: Di 01.06.04 21:18 
Werde mir mal in ruhe alles anschauen.
F.Art Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 434



BeitragVerfasst: Fr 22.10.04 10:00 
Ich benutze nun TClientSocket Combo.
Wie sende ich vom Client zum Server eine Date?

Ich habe ein OpenDialog1 wo ich die Datei auswählen kann und möchte diese nun senden.
arcitC|Crash
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 88


D4 weiter weiß ich net
BeitragVerfasst: Sa 23.10.04 23:31 
Hi!
Wenn du rausgefunden hast, wie man vom Server eine Nachricht an einen oder mehreren Clienten schickt, sag mir bescheid :D
NeWsOfTzzz
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 233


D4 Prof
BeitragVerfasst: So 24.10.04 21:28 
TServerSocket.Socket.Connections[x].sendtext;
TServerSocket.Socket.Activeconnections = gerade aktive verbindungen.
F.Art Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 434



BeitragVerfasst: Mo 25.10.04 02:04 
Wie sendet man den Dateien über die Combonente?
NeWsOfTzzz
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 233


D4 Prof
BeitragVerfasst: Mo 25.10.04 02:14 
TServerSocket.Socket.Connections[x].sendstream.... einfach mal guggn..