Java Code Examples for java.net.Socket.sendUrgentData()

The following are Jave code examples for showing how to use sendUrgentData() of the java.net.Socket class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: ideal   File: SocketTarget1.java   Source Code and License Vote up 5 votes
public static void main(String... args) throws IOException {
  Socket socket = new Socket();
  socket.connect(new SocketAddress() {});
  socket.sendUrgentData(2);
}
 
Example 2
Project: ideal   File: SocketTarget3.java   Source Code and License Vote up 4 votes
public static void main(String... args) throws IOException {
  Socket socket = new Socket();
  socket.sendUrgentData(2);
  socket.sendUrgentData(2);
}
 
Example 3
Project: ideal   File: SocketTarget2.java   Source Code and License Vote up 4 votes
public static void main(String... args) throws IOException {
  Socket socket = new Socket();
  socket.sendUrgentData(2);
}