Spring TCP Socket client not receiving data from Mainframe

前端 未结 2 721
灰色年华
灰色年华 2021-01-29 01:08

I am trying to use this example to send and receive the data to and from a Mainframe machine that uses HEX data to communicate. So I have the following in my config

2条回答
  •  鱼传尺愫
    2021-01-29 01:49

    If the mainframe doesn't close the connection at the end of the response, as it probably doesn't, the read loop will never exit. The loop needs to be aware of the expected or actual length of the response somehow.

    The serializers also surely need to do some EBCDIC conversion?

提交回复
热议问题