How to connect a Socket server via HTTP proxy

后端 未结 8 1163
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-02 14:08

I have a piece of code to connect to a Socket server, and it works fine.

Socket socket = new Socket();
socket.connect(new InetSocketAddress(address, port));
         


        
8条回答
  •  闹比i
    闹比i (楼主)
    2021-02-02 14:24

    You could try JHttpTunnel, though you need software running on both sides of the tunnel for this to work.

提交回复
热议问题