There was an error while loading. Please reload this page.
this is text.
quote
package practice.network; import java.io.*; import java.net.ServerSocket; import java.net.Socket; public class MainClass { public static void main(String[] args) throws IOException { ServerSocket ss = null; Socket s = null; ss = new ServerSocket(9000); System.out.println(" -- ready to welcome client -- "); s = ss.accept(); System.out.println(" -- success to be connected with client -- "); System.out.println("socket: " + s); if(s != null) s.close(); if(ss != null) ss.close(); } }
2016.12.
2017.2.
2017.7.
2017.9.
2018.4.
2018.12.
2019.2.