c ++ winsock数据转移两台计算机教程? [英] c++ winsock data tranfer betweem two computers tutorial?

查看:80
本文介绍了c ++ winsock数据转移两台计算机教程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是c ++网络的初学者?

我想在两台计算机之间传输c ++数据教程?

I am beginner in c++ networking?
I want c++ data transferring between two computers tutorial?

推荐答案

还有TON在互联网上关于这个主题的资源(没有我们在这里重写一切)。套接字是一种非常流行的进程间通信方式,因此很多人已经编写过教程。



这里有一些使用Windows本机套接字的文章:

http://msdn.microsoft.com /en-us/library/windows/desktop/ms738545(v=vs.85).aspx [ ^ ]

开始Winsock编程 - 简单的TCP服务器 [ ^ ]



你还有使用跨平台套接字库的选项(可以在不仅仅是Windows上运行),还有很多库可以使用通过将所有内容封装在类中来简化Windows套接字进程。
There''s a TON of resources in regards to this topic on the internet (without us rewriting everything here). Sockets are a very popular means of interprocess communications so a lot of people have already written tutorials.

Here''s a few articles using Windows native sockets:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms738545(v=vs.85).aspx[^]
Beginning Winsock Programming - Simple TCP server[^]

You also have the option of using socket libraries that are cross-platform (can run on more than just Windows), plus there''s also a lot of libraries that attempt to simplify the Windows socket process by enclosing everything in classes.


这篇关于c ++ winsock数据转移两台计算机教程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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