Write the friend_server.c code so that you can have one client writing friends commands to the server. When your client connects to the server, ask for and store their name. Then allow them to enter commands.