Xinetd, UDP and Progress

sdjensen

Member
Hi

I have a customer that sends data to our server on a UDP port. I have created a config file in xinetd and it runs a script which calls a progress program.

I am trying to read the data by
Code:
readkey pause 0.
[SIZE=2]inputstr = inputstr + [/SIZE][SIZE=2][COLOR=#7f0055][SIZE=2][COLOR=#7f0055]chr[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]([/SIZE][SIZE=2][COLOR=#7f0055][SIZE=2][COLOR=#7f0055]lastkey[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]).
[/SIZE]
But I only receives the first character in each line.

Is it Progress or something else?

I have tried the same solution on tcp and it works without problems.

I am using Progress 10.xx and Suse 10.xx
 

sdjensen

Member
I ended up with a solution that works. I'm not sure its the right one, but it works. :lol:

Code:
cat <&0 | <progress program script>

this way I can read all the characters using a loop and readkey.
 
Top