Handling 10 Clients with a Single UDP Server using Winsock

别等时光非礼了梦想. 提交于 2019-12-11 02:15:52

问题


I have already established a Server-Client Application using UDP Sockets, but my Server is not capable of handling more than one Client at a time. Now I want to modify my applicaton in such a way that there are 10 Clients each running on different machines and my Server running on a separate machine. I want my Server to be able to communicate with each of the 10 Clients running on 10 different machines. I also don't want to miss the data coming from any of the Client. What is the best possible way to do it? Kindly share some examples with me:( I have been searching it on internet since a week, but was unable to find anything that may suit my application requirements. Waiting for help.

来源:https://stackoverflow.com/questions/15403789/handling-10-clients-with-a-single-udp-server-using-winsock

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!