Below you will find the program simplex talk implemented in C, Java, and Python. In each version, the server program takes no arguments, and the client program takes exactly one argument - either the host name of the server or the IP address of the server.
As you modify these program, make sure you first change the server port number to one of the port numbers you were assigned to help avoid collisions.
In all examples of compliation and running below, substitute the word "program" with the name of your source code file.
Compilation on Linux servers
gcc program.c -o program
Running on Linux servers
./program [any arguments]
Compilation on Linux servers
javac program.java
Running on Linux servers
java program [any arguments]
Running on Linux servers
python program.py [any arguments]