Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2006-12

The best way for client/server with FPC ?

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marc PERTRON

Hi,
I'm trying to code a little client/server software with FPC (Linux, not using the LCL, seems a little unstable sometimes)
I need to transfer a string (about 200 char) to the client every 3-4 minutes, over a local network. The client need to react in less than a second.
1 server, 4 clients, no security need (private network). There is plenty of way to do that (TCP socket, CGI, database...) I just need it to be *very* stable.
Which component or system do you think is the best to do that (i was thinking to lNet) ?
Thanks for any advise,
Marc

Reply by email

Michael Van Canneyt
to Marc PERTRON
Marc PERTRON wrote 10 lines
Hi, I'm trying to code a little client/server software with FPC (Linux, not using the LCL, seems a little unstable sometimes) I need to transfer a string (about 200 char) to the client every 3-4 minutes, over a local network. The client need to react in less than a second. 1 server, 4 clients, no security need (private network). There is plenty of way to do that (TCP socket, CGI, database...) I just need it to be *very* stable. Which component or system do you think is the best to do that (i was thinking to lNet) ?

Well, LNet comes standard with recent FPCs (version 2.1.1). You can try that or use synapse if you need to work with 2.0.4. I don't know if LNet compiles with 2.0.4, but you could try that too.

Michael.

Reply by email