advantage of using thread
One of the usage of threads in network programming.
Say we have an application for a company that has 70 persons that want to chat each other on LAN network.
The chat program has code for send messages. if this program does'nt use thread,then the other persons must wait until the person that sends the message.It means if one person uses the program . Then other 69 persons must wait until that person finish sending.and there is not other way ,unless create 70 function for sending. Right?
Is it good example for usage thread in network programming?May you suggest another examples?