Workstations Sending | Traffic Received |
1 | 10.3 kb/sec |
10 | 97 kb/sec |
100 | 301.6 kb/sec |
1000 | 27 kb/sec |
10000 | 0.034 kb/sec |
pid = fork()
fd = accept ( ...) if (pid == 0) handle connect exit |
fd = accept( ..)
pid = fork() if (pid == 0) handle connection exit |
while(1)
pid = fork() fd = accept( ... ) if (fd == 0) handle connection exit |
while(1)
fd = accept( .. ) pid = fork() if (pid > 0) handle connection exit |