Autor Beitrag
neojones
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1206
Erhaltene Danke: 1



BeitragVerfasst: Fr 29.09.06 10:00 
Moin moin,

habe schon relativ viel rumgesucht aber noch keinen richtigen Ansatz gefunden:

Ich habe eine Anwendung, die auf localhost läuft und wiederrum auf localhost auf den Port 13.000 Informationen über Ihre Arbeit pusht. Und an diese Infos müsste ich rankommen.

Mein Ansatz war mit Indy und IdSimpleTCPServer, aber der gibt mal pauschal gar kein Feedback.

Hat jemand schonmal was in der Richtung gemacht?

Danke und viele Grüße,

Matthias

_________________
Ha! Es compiliert! Wir können ausliefern!
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Fr 29.09.06 10:15 
Der Ansatz ist prinzipiell schon mal richtig.
Hast du denn schon Code geschrieben, der nicht richtig funktioniert ? Wenn ja, dann poste den hier am besten mal !

_________________
In the beginning was the word.
And the word was content-type: text/plain.
neojones Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1206
Erhaltene Danke: 1



BeitragVerfasst: Fr 29.09.06 13:05 
Moin,

also mit Code ist aktuell noch nicht wirklich viel. Ich hab die idSimpleServer-Kompo aufs Form gezogen. Dann hab ich die BoundIP auf 127.0.0.1 gesetzt (Habs auch ohne schon probiert) und den BoundPort auf 13000.

Dann einen Button, der IDSimpleServer.BeginListen setzt.
Zweiter Button, der IDSimpleServer.EndListen setzt.

Im OnStatus habe ich gesetzt, dass er einfach in ein Memo seinen Status schreiben soll.

Aber genau da ist das Problem: Wenn ich entweder mit der Anwendung oder telnet 127.0.0.1:13000 einen Aufruf mache, reagiert das Programm nicht. Weder eine Statusmeldung noch sonst etwas.

Ich denke, mein Problem liegt schon in der Grundkonfiguration mit den Ports?

Danke für eure Hilfe und viele Grüße,

Matthias

_________________
Ha! Es compiliert! Wir können ausliefern!