# Socket Communication

**URL:** <https://tech-community.robotics.abb.com/t/socket-communication/784>\
**Category:** RobotStudio S4\
**Created:** [July 18, 2006, 2:23pm UTC](https://tech-community.robotics.abb.com/t/socket-communication/784 "2006-07-18T14:23:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jens\_overby](https://avatars.discourse-cdn.com/v4/letter/j/eada6e/32.png) [@jens\_overby](https://tech-community.robotics.abb.com/u/jens_overby)\
**Post date:** [July 18, 2006, 2:23pm UTC](https://tech-community.robotics.abb.com/t/socket-communication/784/1 "2006-07-18T14:23:27Z")

</div>

Hi!

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?

-Jens
