正在加载图片...
分布计算 // create the socket 工 netAddress addr InetAddress getByName(our remote host)i Socket s new Socket(addr, 5000)i Inputstream in = s. getInputstream o)i Outputstream out s. getoutputstreamo)i // now we have Io streams to remote process; do something with them Institute of Computer Software 2021/2/5 18 Nanjing University分布计算 2021/2/5 Institute of Computer Software Nanjing University 18 18 // create the socket InetAddress addr = InetAddress.getByName(“our.remote.host”); Socket s = new Socket(addr, 5000); InputStream in = s.getInputStream(); OutputStream out = s.getOutputStream(); // now we have IO streams to remote process; do something with them
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有