HI Joe123,
Your posted code will not open without errors so I can not run your examples.
I did get them open so I think I can give you some ideas.
1) Establishing a TCP/IP connection can take a long time. It can go faster if you use the IP addresses instead of the computer name. You should restructure your code so that you opene a connection and keep it open before doing anything else. This will take care of of your biggest delays and missed numbers.
So,
The server should;
1) Listen for connect
2) Do the serial I/O
3) Transmit number
4) repeat 2-3 until done
5) close conncetion when done.
The client should;
1) Open conncetion
2) read data
3) dispaly data
4) repeat 2-3 until done
5) Close TCP conncetion.
I hope this help,
Ben
Ben Ray
ner
Certified LabVIEW Developer
www.DSAutomation.com