1 2 3 4 5 6 7 8 9 10 11 12 |
public static void main(String args[]) { String ip = "192.168.0.2"; int port = 8080; try { SocketClient sc = new SocketClient(ip, port); sc.createSocket("Welcome!"); } catch (IOException e) { } } |