C中的客户端服务器应用程序

问题描述:

大家好,

我想使用Threads在Win32中做一个客户端服务器应用程序.我对线程的处理不甚了解.任何人都可以给我一个带有示例代码的链接,该示例代码说明有关使用线程的客户端服务器应用程序.

提前谢谢.

Shiva ..

Hello everybody,

I wanted to do a client server application in Win32 using Threads.I dont have deep idea about handling threads.Can any one pls give me a link with sample code that explains about Client server application using threads.

Thanks in advance.

Shiva..

我的第一个建议是花一些时间来学习Windows程序中的线程.如果您希望编写实现它们的代码,那么您真的需要了解它们如何工作以及它们之间如何相互作用.

如果您需要一些示例代码,请尝试在CodeProject上的此处搜索文章.
My first suggestion would be to spend some time learning about threads in Windows programs. If you expect to be writing code which implements them then you really need to understand how they work and how they may interact with each other.

If you want some sample code then try searching the articles here on CodeProject.