tsNetCustom and HTTP/0.9 error

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
webmaster
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 83
Joined: Mon May 09, 2011 3:01 pm

tsNetCustom and HTTP/0.9 error

Post by webmaster » Mon Oct 13, 2025 10:58 pm

I'm building my first LiveCode app with tsNet networking. I have success sending commands to other devices using tsNetCustom (and the device responds to the request sent via TCP). But, the response coming back to the ResponseHandler has both an error code and I can't figure out how to process and display the returned data.

tsneterr: (1) Received HTTP/0.9 when not allowed

Server returned: [blank]

The device is supposed to send back to me "ACK" followed by a double-return when the command is received and processed successfully. But I can't figure out how to get that returned text so I can log success (instead of failure will return "NAK" along with a error description).

Do I need to send headers to force tsNet to operate in HTTP/1.1 mode? And how I can receive and view the returned data?

Thanks, guys!!

Post Reply