Why don't I receive data when using a large data type (over 1400 bytes) on a Windows system?

Note: This entry applies to Windows systems only.

If you are sending data larger than 1400 bytes, and the subscriber is not receiving any data, make sure winsock32.lib is NOT in the list of libraries included in your project. 

There are two different socket libraries on Windows systems: 

  • winsock32.lib—the old winsock.
  • WS2_32.lib—the new winsock.

For successful communication using RTI Connext, use WS2_32.lib only. If you are using winsock32.lib instead (or you have BOTH libraries in your project), RTI Connext will not log an error, but it will fail to write samples that are bigger than the network card MTU size.