See text returned from a tsNetCustom TCP call

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

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

See text returned from a tsNetCustom TCP call

Post by webmaster » Wed Oct 15, 2025 11:31 pm

When I issue a TCP call using tsNetCustom, the server sends a response as text. How can I put the returned text into a variable so it can be shown either as an "answer" (dialog box) or set as the text of a display field?

Klaus
Posts: 14247
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: See text returned from a tsNetCustom TCP call

Post by Klaus » Thu Oct 16, 2025 12:10 pm

I never used tsNetCustom, but this is a function, so doesn't it (or "the result") return something useful?
Or the params your "callback" handler comes with? In case you use a callback message.

Post Reply