import java.io.*; import java.net.*; public class Sockettest { public static void main(String[] args) try { Socket s=new Socket("10.225.67.116",6666); DataOutputStream dout=new DataOutputStream(s.getOutputStream()); new class2(); dout.writeUTF("Hello Server"); } catch(Exception e) { System.out.println(e); } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)