带MFC的套接字编程 [英] Socket programming w/MFC

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

问题描述

有人阅读过有关使用MFC进行套接字编程的好书吗?可能有很多图片:-)我似乎通过例子学习得更好.但是,没有什么比``好''的试验和失败更胜一筹了.我想先创建一个客户端应用.

感谢您的想法和建议.

--DrB

Has anyone read a good book on socket programming with MFC? That possibly has many pictures:-) I seem to learn better by examples. But, nothing beats good ole'' trial and error. I would like to create a client app first.

Thanks for your thoughts and suggestions.

--DrB

推荐答案

是的,有人这么做了.我想很多.

Yes, someone did. Many, I think.

但是,没有什么比好极了"试验和错误.

But, nothing beats good ole'' trial and error.



不,很多事情都可以轻松击败您的方法". 没有尝试,卢克.要么做,要么不做."使用常规的学习方法并有条不紊地工作,计划每个步骤.别担心,您还是会出错. :-)

如果您确实通过示例学习得更好,那么它就是平常的方法.问题是,如果碰巧这是您要使用的唯一方法,您将走不远.最好甚至不要开始...

—SA



No, many things can easily beat your "method". "There is no try, Luke. Do it, or do not". Use regular learning methods and work methodically, planning each step. Don''t worry, you will make errors anyway. :-)

If you really learn better by examples, it''s way to usual. The problem is, if by any chance this is the only method you want to use, you won''t go far; better don''t even start…

—SA


嘿,请检查此链接!

< a href ="http://beej.us/guide/bgnet/output/html/singlepage/bgnet.html#simpleserver"> http://beej.us/guide/bgnet/output/html/singlepage/bgnet.html#simpleserver</a> [< a href ="http://beej.us/guide/bgnet/output/html/singlepage/bgnet.html#simpleserver" target ="_ blank" title =新窗口> ^</a>]


这描述了对两种类型(流和udp协议)执行客户端和服务器套接字编程的方式.
hey check this link!

<a href="http://beej.us/guide/bgnet/output/html/singlepage/bgnet.html#simpleserver">http://beej.us/guide/bgnet/output/html/singlepage/bgnet.html#simpleserver</a>[<a href="http://beej.us/guide/bgnet/output/html/singlepage/bgnet.html#simpleserver" target="_blank" title="New Window">^</a>]


This describes the ways of performing client and server socket programming for both types( streams and udp protocols).


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

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