hello to everybody I would like to make this code a client (patient) has sent a socket server (the doctor), the server sends a socket to another process (the donor), the originator sends a socket to the patient

I'm really lost
thank you