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

Method main

Skay_Exp/src/tools/nc/NetcatUDPServer.java:80–86  ·  view source on GitHub ↗

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

(String[] args)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

startMethod · 0.95

Tested by

no test coverage detected