Click here to Skip to main content
15,891,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,


I am using your Winsock and found that very useful. basically, I am developing a multiplayer card game and I am finished with data arrival/delivery. But I can't connect more than one client to the server so that it will be a multiplayer game. I know that there should be some sort of threading but I do not know how to use it with your winsock. I kindly ask you to assist me in this process. I do not want something complex because this project is anyway not a commercial project, I will use it to play games with my relateives/friends. I want the most simple code in the world to understand how I can connect more than one client to the server.


Your help will be greatly appreciated.


in advance, thank YOU!

Best Regards,
Ali Mammadov
Posted

1 solution

What have your tried so far?
Maybe going through this article will help you[^].

By the way, are you actually going to pay a million dollars to someone to write that code for you?
:)
 
Share this answer
 
Comments
Sandeep Mewara 22-Aug-10 7:08am    
Comment from OP:
Thanks for your help

I understand you. I mean the answer will be a million dollar for me. So if he who gives the right answer can be proud of that


Here is what I have done so far:

My server shuffles and deals cards and sends them to only 1 client, I want it to send 2 clients for HUD and for more than 3-4-5 players as well

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900