I have a VB.NET application that sends through TCP an ASCII string to a JAVA application running on CentOS server and it works ok unless the VB.NET application sends an string containig spaces.
In example if I send this arg0=!X0079 09999 00000 00000 00000 01
In the server JAVA application log say that receives arg0=!X0079 09999= 00000= 01=
But I sniff the data with Wireshark and the data is coming out OK from VB.NET application
The JAVA application is decoding data with this line
String cmd = StringTools.toStringValue(pktBytes);
The upper code line is from Geotelematic Solutions, is not my code.
So, There's any restriction sending spaces to a JAVA application or is something particular with this JAVA application in particular?