04-20-2012 08:05 AM - edited 04-20-2012 08:13 AM
Hi,
I'm trying to communicate a Server-Client application.
Actually, I've already made a simple data transfer through TCP/IP. However, I'm not sure yet, if TCP/IP is the best (and by best I mean fastest, safest, etc)
way to do it.
What are the Cons and Pros between TCP/IP, STM and Shared Variable?
Do you recommend another type of communication besides these 3?
Thank you,
Matt.
Solved! Go to Solution.
04-20-2012 08:26 AM
I think a general question cannot have a specific answer.
So, "the best" way to share data between a client and a server app doesn't exist.
I like using TCP/IP, but sometimes (when data loss is not critical) I use UPD (quick and dirty).
I usually avoid shared variables, especially on embedded devices.
Some other times I I prefer exchange data through a database...
Some other times I exchange data using files...
Marco
04-20-2012 08:39 AM
I see,
'I like using TCP/IP, but sometimes (when data loss is not critical) I use UPD (quick and dirty).
I usually avoid shared variables, especially on embedded devices."
These are the type of information that I was looking for.
There's no book that could tell you these "learned-by-experience" informations.
Thank you Marco, it was really helpful.
Matt.