Friday, July 02, 2010

TCPlease make up your mind

Sorry about the geeky post. People not interested in network protocols can skip it.

I was trying to figure out which network protocol (UDP or TCP) a robot was using, but I wasn't getting much help from the robot provider.

Email: Communication will be TCP/UDP (Can be TCP/IP if you prefer).
Documentation: Robot Control uses a standard TCP/IP protocol.
Code comment 1: This controller opens a TCP/IDP connection
Code comment 2: Waiting for data on port UDP

Half those statements don't even make sense. I finally had to look at the actual code to figure out that it was, in fact, using UDP.

No comments: