It appears that this did not get to the list so I am resending...
Hello All,
I am currently working on an RT/Embedded system and I had to create a
custom TCP server. I decided to make it very general and allow registering
call-back VIs to handle client connection. This design allows for multiple
client connections (if the call-back VI is reentrant) and is super-clean .
The call-back framework handles all the management (spawing and cleanup).
My only disclaimer is that I've only spent a couple days on it and it has
not been tested for memory leaks, reliability, etc. Please report these
back to me, if you would be so kind.
http://www.openg.org/tiki/tiki-index.php?page=EXAMPLE+-+TCP+Server
-Jim
|