Package com.peterhi.obsolete

Examples of com.peterhi.obsolete.Endpoint.send()


    Endpoint ep = new Endpoint();
    ep.start();
   
    SocketAddress address = new InetSocketAddress(InetAddress.getLocalHost(), 22222);
    byte[] data = "Hello World!".getBytes();
    ep.send(address, data, false);
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.