基于socket的服务端和客户端,多线程操作,最好是类,求范例,高手帮忙了。

解决方案 »

  1.   

    Multi-threaded Client/Server Socket class
    http://www.codeproject.com/internet/serversocket.asp
      

  2.   

    MultiSoc: Illustrates Using Sockets in Multiple Threads
    http://support.microsoft.com/default.aspx?scid=kb;EN-US;175668
      

  3.   

    刚刚找到这个
    http://www.codeproject.com/internet/nonblocking_syncsocket.asp?
    迟了啊
      

  4.   

    I think you should use IO completion port for Windows socket server. You can search CreateIoCompletionPort in MSDN. You can write the server by the document.
    I'm sorry that I can't input chinese . :>
      

  5.   

    用Afxbeginthread()
    要将线程函数定义为全局函数。
    然后在类中调用
      

  6.   

    PandaMeMee大哥,全e文啊,我没找到类的下载阿,给我发一份吧,多谢了
    [email protected]
      

  7.   

    大哥,我要socket啊,这是吗?
      

  8.   

    http://www.vczx.com/article/show.php?id=706
      

  9.   

    各位好心的大哥,帮忙发一分给我啊,[email protected]