SwiftSocket icon indicating copy to clipboard operation
SwiftSocket copied to clipboard

Getting invalid json response from TCPClient read function

Open Sandeep-Appster opened this issue 7 years ago • 1 comments

Hi Guys,

Sometime our TCPClient read function giving as invalid response by appending multiple record.

like

"{\n "fileName" : "IMG.1523850027.00019.jpg",\n "deviceId" : "BDFBFF32-7032-4410-82D2-9E32DDB43F08",\n "messageType" : "FileUpload"\n}{\n "fileName" : "IMG.1523850027.1688.jpg",\n "deviceId" : "BDFBFF32-7032-4410-82D2-9E32DDB43F08",\n "messageType" : "FileUpload"\n}"

Any idea? any help would be appreciated.

Sandeep-Appster avatar Apr 16 '18 04:04 Sandeep-Appster

Hi, did you manage to fix this problem? Currently having a similar issue in which I don't get the full response, just half of it.

thomasneuteboom avatar Sep 28 '18 14:09 thomasneuteboom