Thanks!!! it helped!
Type: Posts; User: lczarne
Thanks!!! it helped!
Excuse me. You're right:
global:
int num=5; //number of processes
int num2=1; //used to name threads
loop in which server waits for connections and starts threads
I have problem with simple short code. It's example of usage of TCP communication. 6 Client processes initialized with fork() are sending simultaneously random numbers from 1 to 5 to server (in a...