一百万美元的问题 [英] A million dollar question

查看:76
本文介绍了一百万美元的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


我正在使用您的Winsock,发现它非常有用.基本上,我正在开发一种多人纸牌游戏,并且我已经完成了数据到达/传送.但是我不能将一个以上的客户端连接到服务器,因此它将是一个多人游戏.我知道应该有某种线程,但是我不知道如何在Winsock中使用它.恳请您在此过程中为我提供帮助.我不想要复杂的东西,因为这个项目无论如何都不是商业项目,我将用它与我的亲戚/朋友一起玩游戏.我希望世界上最简单的代码能够理解如何将多个客户端连接到服务器.


非常感谢您的帮助.


提前谢谢!

最好的问候,
Ali Mammadov

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

推荐答案

到目前为止,您做了什么尝试?
也许阅读本文将对 [ [
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?
:)


这篇关于一百万美元的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆