Windows C / C ++的套接字编程 [英] Socket Programming for Windows C/C++

查看:88
本文介绍了Windows C / C ++的套接字编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在OpenGl上写了一个游戏,想让它成为一个多人游戏。
我在Windows上工作,但我实际上是一个C#程序员。 Socket编程在C#中太容易了,但在C ++我不能解决它:(

I have write a game on OpenGl, and want to make it a multiplayer game. I'm working on Windows, but I'm actually a C#-programmer. Socket programming goes too easy at C#, but at c++ I can not solve it :(

我应该使用哪个库?winsock和winsock2库太复杂。
是否有像C#System.Net.Sockets一样容易使用的库?

Which library should I use? winsock and winsock2 libraries are too complicated. Is there any library easy to use like in C# System.Net.Sockets ?

种类问题。

推荐答案

查看 ACE框架,它存在了一段时间。

Have a look at the ACE framework. It exists for quite some time.

这篇关于Windows C / C ++的套接字编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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