MCPcopy Create free account
hub / github.com/0linlin0/CyberBox / main

Method main

Skay_Exp/src/tools/nc/NetcatUDPClient.java:81–87  ·  view source on GitHub ↗

Starts execution of the program, requiring a host name and port number as an argument. @param args @throws Exception

(String[] args)

Source from the content-addressed store, hash-verified

79 * @throws Exception
80 */
81 public static void main(String[] args) throws Exception {
82 if (args[0] != null && args[1] != null) {
83 start(args[0], Integer.parseInt(args[1]));
84 } else {
85 System.out.println("usage:\ndownload: java main.java.nc.NetcatClient [host] [port] > [downloaded-file]\nupload: java main.java.nc.NetcatClient [host] [port] > [original-file]");
86 }
87 }
88}

Callers

nothing calls this directly

Calls 1

startMethod · 0.95

Tested by

no test coverage detected