udt.util
Class TestSocket

java.lang.Object
  extended by udt.util.Application
      extended by udt.util.TestSocket
All Implemented Interfaces:
Runnable

public class TestSocket
extends Application

helper class for receiving a single file via UDT Intended to be compatible with the C++ version in the UDT reference implementation main method USAGE: java -cp ... udt.util.ReceiveFile


Field Summary
 
Fields inherited from class udt.util.Application
localIP, localPort, verbose
 
Constructor Summary
TestSocket(String serverHost, int serverPort, String remoteFile, String localFile)
           
 
Method Summary
static void main(String[] fullArgs)
           
 void run()
           
 void run15()
           
 void run2()
           
static void usage()
           
 
Methods inherited from class udt.util.Application
configure, parseArg, parseOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestSocket

public TestSocket(String serverHost,
                  int serverPort,
                  String remoteFile,
                  String localFile)
Method Detail

run

public void run()

run15

public void run15()

run2

public void run2()

main

public static void main(String[] fullArgs)
                 throws Exception
Throws:
Exception

usage

public static void usage()


Copyright © 2013 LittleShoot. All Rights Reserved.