MFC C ++多线程,同步和套接字编程 [英] MFC C++ Multithreading, Synchronization and Socket Programming

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

问题描述

我是MFC C ++的新手,我只想问问是否有人知道在哪里可以找到示例代码应用程序,或者谁可以共享MFC C ++ 2005中的同步,多线程和套接字编程应用程序的代码. br/>
在此先感谢.

I am a newbie in MFC C++ and I just want to ask if anyone knows where can I find a sample code application or could any one share a code of an application of Synchronization, Multithreading and socket programming in MFC C++ 2005.

Thanks in advance.

推荐答案

这三种类型的技术在一起使用的情况如此之多,而不同技术的组合如此之多,因此不可能了解您到底需要什么.如果您仅获得使用同步,多线程和套接字编程的应用程序示例,则可能会学到很少的知识.

也就是说,请尝试缩小搜索范围,并缩小搜索范围.我想您会发现很多样本;但这可以使您对所涉及的各种技术有所了解.

-SA
There are so many different application of all three types techniques used together, and so many combinations of different techniques, so it''s not possible to understand what exactly you need. If you get just one example of the application using Synchronization , Multithreading and socket programming you will probably learn very little.

That said, try to narrow down your search and Google for it. I guess you will find to many samples; but that can give you the idea of the wide spectrum of techniques involved.

—SA


尝试 ACE [< ^ ]

正如您在此页面上看到的: ACE,TAO和CIAO成功案例 [ ^ ]),ACE在一些相当的情况下已被使用严肃的真实"应用程序-它也支持与MFC一起使用-并有据可查,其中包括许多示例,这些示例说明了如何进行多线程,同步和套接字编程时可能需要执行的任何操作:)

问候
Espen Harlinn
Try ACE[^]

As you can see from this page:ACE, TAO, and CIAO Success Stories[^], ACE have been used in some fairly serious "real" applications - it also supports working with MFC - and it''s well documented, including numerous examples illustrating how to do just about anything you are likely to require when it comes to multithreading, synchronization and socket programming :)

Regards
Espen Harlinn


这里有很多样本...

当然,该领域也有很多需求,所以这完全取决于您要实现的目标...

看看那些链接:
http://msdn.microsoft.com/en-us/library/975t8ks0 (v = vs.80).aspx [使用MFC在多线程应用程序中进行同步 [ http://msdn.microsoft.com/en-us/library/ms386065 (v = vs.71).aspx [ http://msdn.microsoft.com/en-us/library/9szee8tb (v = vs.80).aspx [
There are plenty of samples out there...

Of course there are lots of needs in that field also so it all really depends on what you need to achieve...

Take a look at those links:
http://msdn.microsoft.com/en-us/library/975t8ks0(v=vs.80).aspx[^]
Synchronization in Multithreaded Applications with MFC[^]
http://msdn.microsoft.com/en-us/library/ms386065(v=vs.71).aspx[^]
http://msdn.microsoft.com/en-us/library/9szee8tb(v=vs.80).aspx[^]

You''ll get valuable info there...

Hope this helps!


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

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