Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 05-02-2019, 11:30 AM
walker1 walker1 is offline
Junior Member
Join Date: Feb 2011
Posts: 12
Question TcpClient connection blocks after first string

In my application I need to send JSON stings to a Raspberry PI running Python under LINUX.
My standard component runs blocking, as that is what the receiver is said to do.
(not my Python code!)

First string comes through OK, then nothing else!

If I close the connection and open it again, I can transmit another one string through.

The missing connection after first string does apparently not influence my app. I can, and do, send more strings, they 'just' don't get anywhere.
Maybe ending up in some buffer internal to the component? (Unknown)

Below is my current transmitter. It works but takes a rather long time to get things through.

procedure TFreqCtrl.SendCmd(Mode : integer; s : string);
  if Mode=0 then
I run D6 prof SP3 on Win 7 and XP. Same thing happens on both OS.

If my colleague has two Raspberry PIs talk to each other, everything gets through.

Any ideas about the blockade from Win/Delphi?

Last edited by walker1; 05-03-2019 at 08:13 AM.
Reply With Quote

connection blocks, tcpclient

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT. The time now is 12:51 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.