Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Indy 10,Please help

Status
Not open for further replies.

delphilord

Programmer
Nov 10, 2003
53
IR
Hi
could someony send me a multi clinet /server code sample with indy 10?
my onexecute method runs twice and second time hangs on readln command until client send new string.may be I am doing all wrong
Please post me sample client server code (multi cliwents)
I chechked many demos and articles.but not helpfull
Thank you.
 
i sure indy 10 has multiple servers and clients, so i definitely depends on what you're going to do and i now haven't got enough information to help..
post your code, nobody will eat you for it! [bigsmile]

__________________________________________
a programmer is a tool converting coffee into code...
aschi666, sthcomputing.de
 
Hi,
As far as I remember INDY servers, you don't need to "manually" run OnExecute event on server side, it fired automatically every time a client sends something. So you only need to ReadLn periodically on client side and take a closer look at ReadLn method, it should have TimeOut param.

HTH
--- McMerfy
 
No, I did not call it manually
but it was runned with out client writing any thing

problem solved I was refreshing connected clients lits in a combobox and the combobox onchange event was do something that was buggy.
thank you .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top