+/EE360P

distributed systems

git clone https://git.julia.blue/+/EE360P

vijaygarg1Merge branch 'master' of https://github.com/vijaygarg1/EE-360P04ad5df

master
425 B17 linesraw
1public class CarServer {
2  public static void main (String[] args) {
3    int tcpPort;
4    int udpPort;
5    if (args.length != 1) {
6      System.out.println("ERROR: Provide 1 argument: input file containing initial inventory");
7      System.exit(-1);
8    }
9    String fileName = args[0];
10    tcpPort = 7000;
11    udpPort = 8000;
12
13    // parse the inventory file
14
15    // TODO: handle request from clients
16  }
17}