Autor Beitrag
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: So 05.12.04 10:37 
Hi,

ich hab vor, mich in nächster Zeit mit Netzwerkprogrammierung auseinanderzusetzen. Da ich wenig Zeit habe, will ich mich auf das konzentrieren, was ich realisieren möchte; und zwar ein Programm, das auf einem Server (oder auch auf einem Rechner, der als Server fungiert) läuft und über ein GUI Logins annimmt. Jeder Benutzer hat dann Zugriff auf seine Daten, die alle auf dem Server gespeichert sind. Das Problem: ich habe nicht den geringsten DAU, wie ich das realisieren soll; ich finde zwar massenhaft Netzwerk-Tuts im Internet, aber nicht das, was ich suche.

Kann mir jemand sagen, wonach ich suchen könnte oder einen Denkanstoß geben, wie ich das realisieren könnte?

Thx AXMD
retnyg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: Mo 06.12.04 16:39 
Hier ein spitzen Tutorial für Netzwerkapps:

www.dcw-group.net/dc...delphi_dateitransfer
AXMD Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Mo 06.12.04 19:53 
Das Tut ist nett, aber D7PE kennt keinen Server/ClientSocket :(

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

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Mo 06.12.04 20:18 
Moin!

Das ist die ScktComp.dcu, liegt da irgendwo im Delphi-VZ rum, muss man ab 7 nachinstallieren, da Borland Jedi empfiehlt und diese Kompos wieder rausgenommen hat.

cu
Narses
AXMD Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Mo 06.12.04 20:20 
Toll. Borland empfiehlt was, was ich nicht installieren kann und die Unit zu kopieren hilft nichts, weil er andauernd wegen den Compos meckert...

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

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Mo 06.12.04 20:26 
Nein, das ist ganz einfach, man kann da ein Package nachinstallieren, hab ich auch gemacht, dann hast die Icon-Kompos wieder in der Leiste. Ich kann mich aber grad einfach nicht genau genug erinnern; hatte ich aus´m web, einfach mal Googlen...

cu
Narses
AXMD Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Mo 06.12.04 20:33 
Hab grad gegoogelt uns hab in der DP was gefunden; allerdings gibts das BPL File bei mir nicht :( (weder im bin-Verzeichnis noch im Installationsordner)

AXMD
Benutzername
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 210

Win XP Pro
Delphi 7 PE, D2005 Prof. SSL
BeitragVerfasst: Mo 06.12.04 20:49 
Du kannst ja einfachdie Unit ScktComp einbinden und dann die Kompos dynamisch erzeugen, etwa so:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
var CS1:TClientSocket;
[...]
CS1:=TClientSocket.Create(nil);
CS1.Port:=bla;
CS1.Host:=blubb;
CS1.OnRead:=Form1.CS1Read(Parametergelaber);

[...]

procedure TForm1.CD1Read(ParameterGelaber);
begin
  //Was auch immer du machen willst
end;


So hab ich das zumindest in meinem Chat gemacht :-)