Socket Communication


I'm doing some tests on the speed of socket communication between a C++ program and a Virtual IRC5 controller. Both (client & server) are running on the same machine.

Normally, I would be able to do around 22000 pings per sec. if both client and server were written in C++, and using the TCP_NODELAY option. However, setting up a server in RAPID code and a C++ client, only allows me to do around 8 pings per sec., which is extremely low in comparison.

I suspect that it is because I don't use the TCP_NODELAY option, because, I can't find out how to set it in RAPID code. The reference manual does not say a word about it.

Please, can you help me?