What to use for incoming requests of clients in a mulit -client chat application
I am working on an instant messeneger which has to incorporate text,audio and video chat all in one.
Presently i am working on multi-client text chat
Can somebody suggest me what shall i use for new incoming
client connection requests . I mean,do i need to allocate 1 socket for each of the connecting clients(i:e do we need to make an array of sockets)or do we have some other efficinet method .. I think that threads may solve my problem ... But i haven't uesd threads in MFC before .
kindly help me out as my work has got stuck at this point