code: public static String connectToString(InetSocketAddress local, InetSocketAddress remote) {
          return toAddressString(local) + " <-> " + toAddressString(remote);
      }
docs: 连接转字符串
  
  @param local  本地地址
  @param remote 远程地址
  @return 地址信息字符串