H
harald.wolf
Hi,
i have tried to retrieve data from a measurement device with a Ethernet
Port and TCP/IP Stack. The manual tells me, all send commands
and recieved data ends with <LF> 0x0a. So i programmed a test chat program
with Emarcadero XE4 and the TIdTCP-Clent and -Server component.
This chat program worked fine between to PCs. Sending commands with only
<LF> to the device are also successfull.
The OnExecute Event of the server component only triggers if it receives a
<CR> character (normally <LF><CR>) which never happens.
After houres of googeling and research found no solution and solved this
project with the TIdUDP-Sever/Client components where the OnUDPRead-Event
triggers on several other events.
I also experimented with GNUs netcat command and figured out the same
behaviour.
But i want a solution for TCP/IP communication without <CR> triggered data
processing.
Does a solution C++Builder XE4 VCL Components exist?
With which libraries (boost?), techniques can i solve this issue?
i have tried to retrieve data from a measurement device with a Ethernet
Port and TCP/IP Stack. The manual tells me, all send commands
and recieved data ends with <LF> 0x0a. So i programmed a test chat program
with Emarcadero XE4 and the TIdTCP-Clent and -Server component.
This chat program worked fine between to PCs. Sending commands with only
<LF> to the device are also successfull.
The OnExecute Event of the server component only triggers if it receives a
<CR> character (normally <LF><CR>) which never happens.
After houres of googeling and research found no solution and solved this
project with the TIdUDP-Sever/Client components where the OnUDPRead-Event
triggers on several other events.
I also experimented with GNUs netcat command and figured out the same
behaviour.
But i want a solution for TCP/IP communication without <CR> triggered data
processing.
Does a solution C++Builder XE4 VCL Components exist?
With which libraries (boost?), techniques can i solve this issue?