Home  >  Q&A  >  body text

java - json-RPC如何使用tcp

公司内部项目选择使用tcp协议来传输json格式的数据,jsonrpc4j框架支持tcp/udp通信,但是发现可查找的资料好少啊,有没有人知道可以替代的框架?

大家讲道理大家讲道理2744 days ago650

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-04-18 10:49:42

    Can’t you just convert the data stream received using the tcp protocol into a character stream, and then convert the characters into a json object? For example, convert the byte stream in the socket into a string

    reply
    0
  • Cancelreply