Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 447 Bytes

File metadata and controls

9 lines (8 loc) · 447 Bytes

SocketProgramming

Socket Programming and IPv4 protocol

Instructions to run the program:

  1. Open two terminals and go into directory with the Java files
  2. Compile the Java files in one of the terminals: javac *java
  3. Execute the following command: java PacketReceiver
  4. In the other terminal, execute the following command: java PacketSender <"message"> Eg: java PacketSender 192.168.0.1 "COLOMBIA 2 - MESSI 0"