I have an assignment in which I have to use socket programming in C to connect multiple clients with the same server. The problem is that every time a client connects to the server the server must open a new terminal for the client (using fork I guess). The teacher gave us a hint that this can be done using system(); function. However, I haven't been able to find anything related to this. Can anyone please help me with this?
In a nutshell, all I want to know is how to open a new terminal from within a terminal in linux.